Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Validation.OnOffController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onOffController.reference|onOffController.u|onOffController.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onOffController.reference|onOffController.u|onOffController.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001195/0.001195, allocations: 191 kB / 17.29 MB, free: 5.516 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.442/1.442, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.251/2.251, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 65.98 kB / 0.814 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.2682, allocations: 140.4 MB / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.001984/0.2702, allocations: 0.7146 MB / 0.9518 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009431/0.2712, allocations: 0.8333 MB / 0.9526 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.625e-05/0.2712, allocations: 0 / 0.9526 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.833e-05/0.2713, allocations: 3.938 kB / 0.9526 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.201e-05/0.2713, allocations: 3.938 kB / 0.9526 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001575/0.2715, allocations: 15.98 kB / 0.9527 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.449e-05/0.2716, allocations: 39.91 kB / 0.9527 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.2717, allocations: 27.97 kB / 0.9527 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.635e-05/0.2718, allocations: 23.86 kB / 0.9528 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.018e-05/0.2718, allocations: 19.91 kB / 0.9528 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.2719, allocations: 4 kB / 0.9528 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.15e-05/0.2719, allocations: 7.938 kB / 0.9528 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.99e-05/0.2719, allocations: 4 kB / 0.9528 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.592e-05/0.2719, allocations: 23.86 kB / 0.9528 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.344e-05/0.272, allocations: 39.86 kB / 0.9528 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.2721, allocations: 0 / 0.9528 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2721, allocations: 0 / 0.9528 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.377e-06/0.2721, allocations: 4 kB / 0.9528 GB, free: 6.262 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006473/0.2727, allocations: 387.3 kB / 0.9532 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.2728, allocations: 8.031 kB / 0.9532 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.557e-05/0.2728, allocations: 8.938 kB / 0.9532 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.2729, allocations: 172.2 kB / 0.9534 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.273, allocations: 8.375 kB / 0.9534 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.273, allocations: 384 / 0.9534 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.2732, allocations: 66.17 kB / 0.9535 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.2732, allocations: 192 / 0.9535 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.2732, allocations: 3.938 kB / 0.9535 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.2732, allocations: 0 / 0.9535 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001734/0.2734, allocations: 47.95 kB / 0.9535 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005042/0.2739, allocations: 296.7 kB / 0.9538 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002529/0.2742, allocations: 62.55 kB / 0.9539 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.148e-05/0.2743, allocations: 24.92 kB / 0.9539 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.2743, allocations: 7.938 kB / 0.9539 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.2743, allocations: 30.56 kB / 0.9539 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.2743, allocations: 0 / 0.9539 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0003518/0.2747, allocations: 97.58 kB / 0.954 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.2747, allocations: 55.34 kB / 0.9541 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.739e-05/0.2748, allocations: 109.8 kB / 0.9542 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.2748, allocations: 25.7 kB / 0.9542 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.596e-05/0.2749, allocations: 92.12 kB / 0.9543 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.2749, allocations: 11.81 kB / 0.9543 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.579e-05/0.275, allocations: 13.72 kB / 0.9543 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.348e-05/0.2751, allocations: 322.8 kB / 0.9546 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.841e-05/0.2752, allocations: 23.98 kB / 0.9546 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.503e-05/0.2753, allocations: 19.98 kB / 0.9547 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.2754, allocations: 48.81 kB / 0.9547 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2754, allocations: 0 / 0.9547 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001979/0.2756, allocations: 81.59 kB / 0.9548 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.2756, allocations: 8 kB / 0.9548 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2757, allocations: 0 / 0.9548 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.2757, allocations: 336 / 0.9548 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.642e-05/0.2757, allocations: 11.98 kB / 0.9548 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.2758, allocations: 0 / 0.9548 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.2759, allocations: 11.98 kB / 0.9548 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.2759, allocations: 7.984 kB / 0.9548 GB, free: 4.012 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (onOffController.y,$PRE.onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.74e-05/0.276, allocations: 125.2 kB / 0.9549 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.792e-05/0.276, allocations: 11.89 kB / 0.955 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002324/0.2762, allocations: 81.48 kB / 0.955 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.2763, allocations: 0 / 0.955 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.2763, allocations: 0 / 0.955 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2763, allocations: 0 / 0.955 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.2764, allocations: 169.6 kB / 0.9552 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2764, allocations: 0 / 0.9552 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.41e-05/0.2765, allocations: 15.98 kB / 0.9552 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.2765, allocations: 384 / 0.9552 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.2765, allocations: 0 / 0.9552 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2765, allocations: 0 / 0.9552 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2765, allocations: 0 / 0.9552 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000241/0.2768, allocations: 175.4 kB / 0.9554 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.063e-05/0.2768, allocations: 84.95 kB / 0.9555 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.2769, allocations: 8 kB / 0.9555 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.277, allocations: 19.92 kB / 0.9555 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.92e-05/0.2771, allocations: 7.984 kB / 0.9555 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.2771, allocations: 0 / 0.9555 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.385e-05/0.2771, allocations: 91.27 kB / 0.9556 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2772, allocations: 0 / 0.9556 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002312/0.2774, allocations: 8 kB / 0.9556 GB, free: 3.129 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 0.0001164/0.2775, allocations: 103.2 kB / 0.9557 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002246/0.2777, allocations: 47.95 kB / 0.9557 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2778, allocations: 0 / 0.9557 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.502e-05/0.2779, allocations: 27.92 kB / 0.9558 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.2781, allocations: 11.14 kB / 0.9558 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003002/0.2785, allocations: 121.6 kB / 0.9559 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002242/0.2787, allocations: 0.6844 MB / 0.9566 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.83e-05/0.2787, allocations: 0 / 0.9566 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.605e-05/0.2788, allocations: 15.42 kB / 0.9566 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.2788, allocations: 0 / 0.9566 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of Templates: time 0.003084/0.2819, allocations: 0.8133 MB / 0.9574 GB, free: 1.262 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches