Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 106.8 kB / 15.99 MB, free: 5.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001821/0.001821, allocations: 195.9 kB / 16.91 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 222.9 MB / 240.6 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.451/2.451, allocations: 390.3 MB / 0.665 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 67.89 kB / 0.8127 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6996/0.7011, allocations: 140.4 MB / 0.9498 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001571/0.7027, allocations: 0.6176 MB / 0.9504 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 3.508e-05/0.7028, allocations: 9.5 kB / 0.9504 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.057e-05/0.7028, allocations: 0 / 0.9504 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.832e-05/0.7028, allocations: 0 / 0.9504 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.204e-05/0.7029, allocations: 0 / 0.9504 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.978e-05/0.7029, allocations: 1.344 kB / 0.9504 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.244e-05/0.7029, allocations: 1.281 kB / 0.9504 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.352e-05/0.703, allocations: 5.266 kB / 0.9504 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.276e-05/0.703, allocations: 0 / 0.9504 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.352e-05/0.703, allocations: 5 kB / 0.9504 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.703, allocations: 0 / 0.9504 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.717e-06/0.7031, allocations: 1.031 kB / 0.9504 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.06e-05/0.7031, allocations: 4 kB / 0.9504 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.627e-05/0.7031, allocations: 1.25 kB / 0.9504 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.083e-05/0.7031, allocations: 11.97 kB / 0.9504 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.7031, allocations: 1.5 kB / 0.9504 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.203e-06/0.7031, allocations: 0 / 0.9504 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.7032, allocations: 0 / 0.9504 GB, free: 8.625 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001914/0.7033, allocations: 306.1 kB / 0.9507 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.7034, allocations: 10.5 kB / 0.9507 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.145e-05/0.7034, allocations: 0.9375 kB / 0.9507 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.058e-05/0.7035, allocations: 177.3 kB / 0.9509 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.036e-06/0.7035, allocations: 384 / 0.9509 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-06/0.7035, allocations: 1.438 kB / 0.9509 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.868e-05/0.7036, allocations: 31.39 kB / 0.9509 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.45e-06/0.7036, allocations: 1.812 kB / 0.9509 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.102e-06/0.7036, allocations: 3.938 kB / 0.9509 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-06/0.7036, allocations: 0 / 0.9509 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.256e-05/0.7036, allocations: 1.5 kB / 0.9509 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001997/0.7038, allocations: 390.2 kB / 0.9513 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.409e-05/0.7039, allocations: 170.5 kB / 0.9515 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.373e-05/0.7039, allocations: 80.14 kB / 0.9516 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.7039, allocations: 76.88 kB / 0.9516 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.7039, allocations: 109.8 kB / 0.9517 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.7039, allocations: 0 / 0.9517 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.312e-05/0.704, allocations: 30.7 kB / 0.9518 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.704, allocations: 135.9 kB / 0.9519 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.739e-05/0.7041, allocations: 97.14 kB / 0.952 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.071e-06/0.7041, allocations: 25.7 kB / 0.952 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.461e-05/0.7041, allocations: 81.8 kB / 0.9521 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.764e-06/0.7041, allocations: 0 / 0.9521 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.594e-05/0.7041, allocations: 13.84 kB / 0.9521 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.947e-05/0.7042, allocations: 312.5 kB / 0.9524 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.659e-06/0.7042, allocations: 0 / 0.9524 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.595e-06/0.7042, allocations: 0 / 0.9524 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.392e-05/0.7042, allocations: 81.03 kB / 0.9525 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/0.7042, allocations: 75.28 kB / 0.9526 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.705e-05/0.7043, allocations: 39.31 kB / 0.9526 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.7043, allocations: 82.44 kB / 0.9527 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.7043, allocations: 80.56 kB / 0.9527 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.708e-05/0.7044, allocations: 150.6 kB / 0.9529 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.808e-06/0.7044, allocations: 80.47 kB / 0.953 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.022e-05/0.7044, allocations: 152.2 kB / 0.9531 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.547e-05/0.7045, allocations: 83.22 kB / 0.9532 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.7045, allocations: 76.47 kB / 0.9533 GB, free: 5.543 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.338e-05/0.7045, allocations: 273.9 kB / 0.9535 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.269e-05/0.7046, allocations: 102.6 kB / 0.9536 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.011e-05/0.7046, allocations: 113.2 kB / 0.9537 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.206e-05/0.7046, allocations: 177.7 kB / 0.9539 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.482e-05/0.7047, allocations: 181.7 kB / 0.9541 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.236e-05/0.7047, allocations: 189.8 kB / 0.9543 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.7048, allocations: 398.9 kB / 0.9546 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.357e-05/0.7048, allocations: 104.9 kB / 0.9547 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.564e-05/0.7048, allocations: 106.4 kB / 0.9548 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-05/0.7049, allocations: 185.5 kB / 0.955 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.7049, allocations: 188.2 kB / 0.9552 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.017e-05/0.7049, allocations: 177.6 kB / 0.9554 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.072e-05/0.7049, allocations: 181.5 kB / 0.9555 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.839e-05/0.705, allocations: 315.8 kB / 0.9558 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.744e-05/0.705, allocations: 179.5 kB / 0.956 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.7051, allocations: 181.5 kB / 0.9562 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.091e-05/0.7051, allocations: 113 kB / 0.9563 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.588e-05/0.7052, allocations: 177.5 kB / 0.9565 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.7052, allocations: 106.1 kB / 0.9566 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.877e-05/0.7052, allocations: 81.81 kB / 0.9566 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7052, allocations: 0 / 0.9566 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002498/0.7055, allocations: 5.688 kB / 0.9566 GB, free: 1.883 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.366e-05/0.7056, allocations: 172 kB / 0.9568 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 2.963e-05/0.7056, allocations: 7.922 kB / 0.9568 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.7056, allocations: 0 / 0.9568 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.7056, allocations: 1.469 kB / 0.9568 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.7059, allocations: 463.4 kB / 0.9573 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001539/0.706, allocations: 183.4 kB / 0.9574 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.553e-05/0.7061, allocations: 0.674 MB / 0.9581 GB, free: 364 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.307e-05/0.7061, allocations: 7.438 kB / 0.9581 GB, free: 356 kB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.7061, allocations: 0 / 0.9581 GB, free: 356 kB / 0.7169 GB Notification: Performance of Templates: time 0.001415/0.7076, allocations: 327.5 kB / 0.9584 GB, free: 196 kB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches