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.001507/0.001507, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 199.7 kB / 16.54 MB, free: 6.672 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.479/1.479, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.478/2.478, allocations: 390.2 MB / 0.6646 GB, free: 432 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 71.88 kB / 0.8125 GB, free: 14.44 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8581/0.8603, allocations: 140.4 MB / 0.9496 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.002061/0.8624, allocations: 0.7071 MB / 0.9503 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008937/0.8633, allocations: 0.8314 MB / 0.9511 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.164e-05/0.8633, allocations: 5.188 kB / 0.9511 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.142e-05/0.8634, allocations: 3.938 kB / 0.9511 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.83e-05/0.8635, allocations: 5.156 kB / 0.9511 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001561/0.8636, allocations: 11.39 kB / 0.9511 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.822e-05/0.8637, allocations: 45.62 kB / 0.9512 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.8638, allocations: 12.84 kB / 0.9512 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.57e-05/0.8639, allocations: 26.41 kB / 0.9512 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.543e-05/0.864, allocations: 21.89 kB / 0.9512 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.864, allocations: 7.688 kB / 0.9512 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.49e-05/0.864, allocations: 8.156 kB / 0.9512 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.956e-05/0.864, allocations: 13.61 kB / 0.9513 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.413e-05/0.8641, allocations: 15.67 kB / 0.9513 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.647e-05/0.8642, allocations: 50.7 kB / 0.9513 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.8642, allocations: 0 / 0.9513 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.313e-06/0.8642, allocations: 1.094 kB / 0.9513 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.8642, allocations: 0 / 0.9513 GB, free: 7.816 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000625/0.8648, allocations: 382.8 kB / 0.9517 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.8649, allocations: 10.12 kB / 0.9517 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.8649, allocations: 3.219 kB / 0.9517 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.204e-05/0.865, allocations: 174.7 kB / 0.9519 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.865, allocations: 2.031 kB / 0.9519 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.865, allocations: 5.938 kB / 0.9519 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.8653, allocations: 60.52 kB / 0.9519 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.8653, allocations: 4.125 kB / 0.9519 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.8653, allocations: 3.938 kB / 0.9519 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.8653, allocations: 1.375 kB / 0.9519 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.8655, allocations: 44.33 kB / 0.952 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004787/0.866, allocations: 292 kB / 0.9523 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002419/0.8662, allocations: 56.2 kB / 0.9523 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.961e-05/0.8663, allocations: 28.22 kB / 0.9523 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.8663, allocations: 5.594 kB / 0.9523 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.606e-05/0.8664, allocations: 31.69 kB / 0.9524 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.8664, allocations: 0 / 0.9524 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003649/0.8667, allocations: 92.98 kB / 0.9525 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.323e-05/0.8668, allocations: 52.62 kB / 0.9525 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.599e-05/0.8668, allocations: 121.8 kB / 0.9526 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.876e-06/0.8669, allocations: 25.7 kB / 0.9527 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.796e-05/0.8669, allocations: 98.23 kB / 0.9527 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.8669, allocations: 5.125 kB / 0.9528 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/0.867, allocations: 17.53 kB / 0.9528 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.225e-05/0.867, allocations: 315.9 kB / 0.9531 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.606e-05/0.8671, allocations: 24.47 kB / 0.9531 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.068e-05/0.8672, allocations: 23.55 kB / 0.9531 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.8674, allocations: 46.16 kB / 0.9532 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.8674, allocations: 3.938 kB / 0.9532 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001944/0.8676, allocations: 87.39 kB / 0.9532 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.8676, allocations: 6.281 kB / 0.9533 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.8676, allocations: 3.984 kB / 0.9533 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.8676, allocations: 4 kB / 0.9533 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.513e-05/0.8677, allocations: 10.17 kB / 0.9533 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.8677, allocations: 0.9375 kB / 0.9533 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.8678, allocations: 16.8 kB / 0.9533 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-06/0.8678, allocations: 1.562 kB / 0.9533 GB, free: 5.879 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: 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 5.251e-05/0.8679, allocations: 117.1 kB / 0.9534 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.467e-05/0.8679, allocations: 9.172 kB / 0.9534 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000232/0.8682, allocations: 78.78 kB / 0.9535 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.8682, allocations: 0 / 0.9535 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.81e-06/0.8682, allocations: 9.453 kB / 0.9535 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.8682, allocations: 0 / 0.9535 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.8683, allocations: 169.1 kB / 0.9537 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.8683, allocations: 0 / 0.9537 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.832e-05/0.8684, allocations: 11.02 kB / 0.9537 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.8684, allocations: 0 / 0.9537 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.8684, allocations: 4 kB / 0.9537 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.8684, allocations: 1.406 kB / 0.9537 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.8684, allocations: 0 / 0.9537 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/0.8686, allocations: 170.7 kB / 0.9538 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.226e-05/0.8687, allocations: 82.42 kB / 0.9539 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.8687, allocations: 3.984 kB / 0.9539 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.8688, allocations: 17.14 kB / 0.9539 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.599e-05/0.8689, allocations: 7.859 kB / 0.9539 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.8689, allocations: 1.531 kB / 0.9539 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.142e-05/0.8689, allocations: 94.73 kB / 0.954 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8689, allocations: 0 / 0.954 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002133/0.8692, allocations: 9.688 kB / 0.954 GB, free: 5.105 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: 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.0001022/0.8693, allocations: 98 kB / 0.9541 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002374/0.8695, allocations: 51.17 kB / 0.9542 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.8695, allocations: 0 / 0.9542 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.253e-05/0.8696, allocations: 22.33 kB / 0.9542 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.8699, allocations: 20.41 kB / 0.9542 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003007/0.8702, allocations: 133.9 kB / 0.9544 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.8704, allocations: 0.6842 MB / 0.955 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.005e-05/0.8704, allocations: 2.719 kB / 0.955 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.987e-05/0.8704, allocations: 9 kB / 0.955 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8704, allocations: 1.406 kB / 0.955 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of Templates: time 0.003087/0.8735, allocations: 0.8194 MB / 0.9558 GB, free: 3.711 MB / 0.7169 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