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.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.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.005836/0.005836, allocations: 97 kB / 15.73 MB, free: 5.949 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.00127/0.00127, allocations: 193.2 kB / 16.67 MB, free: 5.871 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.241/2.241, allocations: 390.2 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 67.84 kB / 0.9509 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.116/1.117, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.002374/1.119, allocations: 0.7102 MB / 1.089 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001056/1.121, allocations: 0.8313 MB / 1.089 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.995e-05/1.121, allocations: 0 / 1.089 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.163e-05/1.121, allocations: 5.891 kB / 1.089 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.215e-05/1.121, allocations: 7.938 kB / 1.089 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000197/1.121, allocations: 13.06 kB / 1.089 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001468/1.121, allocations: 47.48 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001726/1.121, allocations: 12.58 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/1.121, allocations: 20.91 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.46e-05/1.121, allocations: 25.81 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.858e-05/1.121, allocations: 4.406 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.635e-05/1.121, allocations: 4.438 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.005e-05/1.122, allocations: 15.44 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.587e-05/1.122, allocations: 18.33 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001694/1.122, allocations: 39.83 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/1.122, allocations: 5.859 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.545e-06/1.122, allocations: 0 / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.515e-06/1.122, allocations: 0 / 1.09 GB, free: 4.324 MB / 0.8575 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.0007704/1.123, allocations: 381.6 kB / 1.09 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/1.123, allocations: 9.594 kB / 1.09 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.834e-05/1.123, allocations: 8.203 kB / 1.09 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/1.123, allocations: 172 kB / 1.09 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/1.123, allocations: 5.312 kB / 1.09 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/1.123, allocations: 3.531 kB / 1.09 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002652/1.123, allocations: 69.5 kB / 1.09 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/1.123, allocations: 4.703 kB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/1.123, allocations: 3.938 kB / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/1.123, allocations: 1.156 kB / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002409/1.123, allocations: 43.52 kB / 1.09 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005824/1.124, allocations: 293.4 kB / 1.091 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003014/1.124, allocations: 56.34 kB / 1.091 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/1.124, allocations: 29.81 kB / 1.091 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/1.124, allocations: 1 kB / 1.091 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/1.124, allocations: 31.81 kB / 1.091 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/1.124, allocations: 0 / 1.091 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0004179/1.125, allocations: 102 kB / 1.091 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/1.125, allocations: 53.56 kB / 1.091 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/1.125, allocations: 113.9 kB / 1.091 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/1.125, allocations: 30.83 kB / 1.091 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.321e-05/1.125, allocations: 91.62 kB / 1.091 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/1.125, allocations: 5.422 kB / 1.091 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.6e-05/1.125, allocations: 18.98 kB / 1.091 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.335e-05/1.125, allocations: 318 kB / 1.091 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/1.125, allocations: 21.33 kB / 1.091 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.211e-05/1.125, allocations: 25.3 kB / 1.091 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/1.126, allocations: 43.8 kB / 1.092 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.126, allocations: 5.281 kB / 1.092 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002317/1.126, allocations: 82.19 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/1.126, allocations: 5.188 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/1.126, allocations: 3.938 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/1.126, allocations: 5.297 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.32e-05/1.126, allocations: 9.094 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/1.126, allocations: 1.281 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/1.126, allocations: 14 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.301e-06/1.126, allocations: 1.703 kB / 1.092 GB, free: 2.535 MB / 0.8575 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.226e-05/1.126, allocations: 118.2 kB / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/1.126, allocations: 9.078 kB / 1.092 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002844/1.127, allocations: 82.27 kB / 1.092 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/1.127, allocations: 1.031 kB / 1.092 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/1.127, allocations: 0 / 1.092 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/1.127, allocations: 1 kB / 1.092 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/1.127, allocations: 171.1 kB / 1.092 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/1.127, allocations: 0 / 1.092 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.537e-05/1.127, allocations: 9.188 kB / 1.092 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/1.127, allocations: 1.156 kB / 1.092 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/1.127, allocations: 4.75 kB / 1.092 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/1.127, allocations: 1.062 kB / 1.092 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/1.127, allocations: 0 / 1.092 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/1.127, allocations: 167.5 kB / 1.092 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.395e-05/1.127, allocations: 87.59 kB / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/1.127, allocations: 5.312 kB / 1.092 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/1.127, allocations: 19.62 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.769e-05/1.128, allocations: 9.656 kB / 1.092 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/1.128, allocations: 1.25 kB / 1.092 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.425e-05/1.128, allocations: 90.2 kB / 1.092 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.128, allocations: 0 / 1.092 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002166/1.128, allocations: 9.5 kB / 1.092 GB, free: 1.816 MB / 0.8575 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.0001414/1.128, allocations: 111.3 kB / 1.092 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000274/1.128, allocations: 47.42 kB / 1.093 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/1.128, allocations: 0 / 1.093 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/1.128, allocations: 27.73 kB / 1.093 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/1.129, allocations: 12.14 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003563/1.129, allocations: 125.9 kB / 1.093 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001382/1.129, allocations: 0.6855 MB / 1.093 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.238e-05/1.129, allocations: 2.375 kB / 1.093 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.267e-05/1.129, allocations: 10.27 kB / 1.093 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/1.129, allocations: 0.9375 kB / 1.093 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of Templates: time 0.004118/1.133, allocations: 0.8234 MB / 1.094 GB, free: 0.7773 MB / 0.8575 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 -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/jenkins/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