Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001177/0.001177, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001145/0.001145, allocations: 197.9 kB / 16.14 MB, free: 6.719 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.424/1.424, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.828/2.828, allocations: 437 MB / 0.7099 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001249, allocations: 67.91 kB / 0.8686 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7955/0.7968, allocations: 151.6 MB / 1.017 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.002297/0.7992, allocations: 0.79 MB / 1.017 GB, free: 1.965 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001053/0.8002, allocations: 0.8195 MB / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.958e-05/0.8003, allocations: 4 kB / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.475e-05/0.8004, allocations: 11.92 kB / 1.018 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.6e-05/0.8004, allocations: 0 / 1.018 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001874/0.8006, allocations: 19.97 kB / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.956e-05/0.8007, allocations: 39.86 kB / 1.018 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.8009, allocations: 12 kB / 1.018 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.883e-05/0.8009, allocations: 23.86 kB / 1.018 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.642e-05/0.801, allocations: 19.91 kB / 1.018 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.801, allocations: 4 kB / 1.018 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.444e-05/0.801, allocations: 8 kB / 1.018 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.33e-05/0.8011, allocations: 7.984 kB / 1.018 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.438e-05/0.8011, allocations: 19.86 kB / 1.018 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.087e-05/0.8012, allocations: 35.88 kB / 1.018 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.8012, allocations: 0 / 1.018 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.363e-06/0.8012, allocations: 0 / 1.018 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.8012, allocations: 0 / 1.018 GB, free: 0.9297 MB / 0.7637 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.0006969/0.8019, allocations: 387.2 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.802, allocations: 12.03 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.214e-05/0.802, allocations: 0.9375 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.8022, allocations: 172.3 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.8022, allocations: 384 / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.8022, allocations: 8.375 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.8024, allocations: 74.14 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.8025, allocations: 192 / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.8025, allocations: 7.938 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.8025, allocations: 3.938 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.8027, allocations: 43.95 kB / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006094/0.8033, allocations: 296.7 kB / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.8036, allocations: 54.48 kB / 1.019 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.788e-05/0.8037, allocations: 25 kB / 1.019 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.8037, allocations: 7.984 kB / 1.019 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.8038, allocations: 38.5 kB / 1.019 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 3.136e-06/0.8038, allocations: 3.984 kB / 1.019 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0003699/0.8041, allocations: 85.64 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.8042, allocations: 59.34 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.683e-05/0.8043, allocations: 109.8 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.8043, allocations: 29.7 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.851e-05/0.8044, allocations: 92.06 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.8044, allocations: 15.81 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.815e-05/0.8044, allocations: 13.72 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.8046, allocations: 322.8 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.83e-05/0.8047, allocations: 19.98 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.342e-05/0.8048, allocations: 19.98 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.8049, allocations: 44.81 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.805, allocations: 0 / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002136/0.8052, allocations: 77.59 kB / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.8052, allocations: 9.719 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.8052, allocations: 0 / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.8052, allocations: 0 / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.265e-05/0.8053, allocations: 15.98 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.8053, allocations: 4 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.8054, allocations: 15.98 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.8054, allocations: 0 / 1.02 GB, free: 14.68 MB / 0.7794 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 9.256e-05/0.8055, allocations: 118.3 kB / 1.02 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.721e-05/0.8056, allocations: 7.906 kB / 1.02 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002674/0.8058, allocations: 85.5 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.8059, allocations: 3.984 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.8059, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.8059, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.8061, allocations: 169.6 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.8061, allocations: 3.938 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.134e-05/0.8061, allocations: 11.98 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.8061, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.8062, allocations: 384 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.8062, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.8062, allocations: 4 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002471/0.8064, allocations: 167.5 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.711e-05/0.8065, allocations: 88.94 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.8065, allocations: 432 / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.8067, allocations: 23.98 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.716e-05/0.8067, allocations: 3.984 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-06/0.8067, allocations: 7.938 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.758e-05/0.8068, allocations: 91.27 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8068, allocations: 0 / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002359/0.807, allocations: 4 kB / 1.021 GB, free: 13.8 MB / 0.7794 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.000147/0.8072, allocations: 107.2 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002374/0.8074, allocations: 51.95 kB / 1.021 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.8074, allocations: 0 / 1.021 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.493e-05/0.8075, allocations: 19.98 kB / 1.021 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.8079, allocations: 22.11 kB / 1.021 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003393/0.8082, allocations: 139.8 kB / 1.021 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.8085, allocations: 0.677 MB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.301e-05/0.8086, allocations: 4 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/0.8086, allocations: 15.42 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of SimCode: time 6.21e-07/0.8086, allocations: 4 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of Templates: time 0.002966/0.8116, allocations: 0.6531 MB / 1.023 GB, free: 12.06 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches