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.001895/0.001895, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001772/0.001772, allocations: 195.6 kB / 16.14 MB, free: 6.633 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.593/1.593, 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.998/2.998, allocations: 437 MB / 0.71 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 75.88 kB / 0.8686 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9791/0.9812, allocations: 151.6 MB / 1.017 GB, free: 2.961 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.002343/0.9836, allocations: 0.7823 MB / 1.017 GB, free: 2.18 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001194/0.9848, allocations: 0.8273 MB / 1.018 GB, free: 1.34 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.545e-05/0.9849, allocations: 0 / 1.018 GB, free: 1.34 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.867e-05/0.985, allocations: 0 / 1.018 GB, free: 1.34 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.966e-05/0.985, allocations: 3.938 kB / 1.018 GB, free: 1.336 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001734/0.9852, allocations: 19.97 kB / 1.018 GB, free: 1.316 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.622e-05/0.9853, allocations: 39.86 kB / 1.018 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.9854, allocations: 19.97 kB / 1.018 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.159e-05/0.9855, allocations: 7.938 kB / 1.018 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.613e-05/0.9856, allocations: 31.91 kB / 1.018 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.9856, allocations: 0 / 1.018 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.423e-05/0.9856, allocations: 4 kB / 1.018 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.064e-05/0.9857, allocations: 3.984 kB / 1.018 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.298e-05/0.9857, allocations: 23.86 kB / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.633e-05/0.9858, allocations: 39.88 kB / 1.018 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.9858, allocations: 0 / 1.018 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.31e-07/0.9858, allocations: 3.938 kB / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.9858, allocations: 0 / 1.018 GB, free: 1.145 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.0007352/0.9866, allocations: 389.4 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.9866, allocations: 8.031 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.096e-05/0.9867, allocations: 4.938 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.9868, allocations: 172.2 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.9869, allocations: 8.375 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/0.9869, allocations: 384 / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002236/0.9871, allocations: 66.22 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.9871, allocations: 192 / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.9871, allocations: 3.938 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.9872, allocations: 0 / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002032/0.9874, allocations: 47.89 kB / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006346/0.988, allocations: 300.7 kB / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003041/0.9883, allocations: 46.55 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.9884, allocations: 32.98 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/0.9885, allocations: 11.88 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.9885, allocations: 34.56 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.463e-06/0.9885, allocations: 0 / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0004247/0.9889, allocations: 85.64 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.989, allocations: 55.41 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.9891, allocations: 113.8 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.9892, allocations: 25.7 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.631e-05/0.9892, allocations: 96.06 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.9893, allocations: 7.812 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-05/0.9893, allocations: 17.72 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.9895, allocations: 318.8 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.9896, allocations: 27.92 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.952e-05/0.9897, allocations: 23.98 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001822/0.9899, allocations: 44.81 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.9899, allocations: 0 / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002413/0.9901, allocations: 77.94 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.9902, allocations: 4 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.9902, allocations: 0 / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.9902, allocations: 4 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.137e-05/0.9903, allocations: 12.03 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.9903, allocations: 3.938 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.9904, allocations: 16.34 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.731e-05/0.9904, allocations: 4 kB / 1.02 GB, free: 14.9 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 0.0001041/0.9906, allocations: 117.8 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.112e-05/0.9906, allocations: 11.91 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002827/0.9909, allocations: 85.48 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.9909, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.9909, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.9909, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/0.9911, allocations: 165.6 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.9911, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.895e-05/0.9912, allocations: 11.98 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.9912, allocations: 4 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.9912, allocations: 3.938 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.9913, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.9913, allocations: 3.938 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000296/0.9916, allocations: 171.5 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.544e-05/0.9916, allocations: 85 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.9917, allocations: 4 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.9918, allocations: 15.98 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.601e-05/0.9919, allocations: 7.984 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.9919, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.522e-05/0.992, allocations: 91.27 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.992, allocations: 0 / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002235/0.9922, allocations: 8 kB / 1.021 GB, free: 14.02 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.0001668/0.9924, allocations: 103.8 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002455/0.9926, allocations: 51.89 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.9926, allocations: 0 / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.9928, allocations: 23.98 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/0.9931, allocations: 11.86 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003493/0.9935, allocations: 139.9 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/0.9938, allocations: 0.6809 MB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.048e-05/0.9939, allocations: 7.922 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.517e-05/0.9939, allocations: 11.44 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of SimCode: time 2.715e-06/0.9939, allocations: 0 / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of Templates: time 0.003197/0.9971, allocations: 0.6756 MB / 1.023 GB, free: 12.27 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=400 -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