Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.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.Continuous.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001499/0.001498, allocations: 104.9 kB / 15.98 MB, free: 6.352 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.001484/0.001484, allocations: 195.1 kB / 16.91 MB, free: 6.191 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.428/1.428, allocations: 222.9 MB / 240.6 MB, free: 15.47 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.245/2.245, allocations: 390.3 MB / 0.665 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 65.89 kB / 0.8127 GB, free: 33.26 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.283, allocations: 140.4 MB / 0.9498 GB, free: 9.207 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Less): time 0.003312/0.2864, allocations: 2.179 MB / 0.9519 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001866/0.2883, allocations: 1.217 MB / 0.9531 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.2884, allocations: 7.938 kB / 0.9531 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003942/0.2888, allocations: 147.5 kB / 0.9533 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003083/0.2891, allocations: 147.5 kB / 0.9534 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004817/0.2896, allocations: 203.2 kB / 0.9536 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003794/0.29, allocations: 359 kB / 0.9539 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.2902, allocations: 84.88 kB / 0.954 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001935/0.2904, allocations: 159.3 kB / 0.9542 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000166/0.2906, allocations: 155.4 kB / 0.9543 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.183e-05/0.2906, allocations: 16 kB / 0.9543 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.2907, allocations: 67.89 kB / 0.9544 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.2909, allocations: 95.67 kB / 0.9545 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.291, allocations: 139.1 kB / 0.9546 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003171/0.2913, allocations: 327.5 kB / 0.9549 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2913, allocations: 4 kB / 0.9549 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.725e-06/0.2913, allocations: 0 / 0.9549 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.2913, allocations: 3.938 kB / 0.9549 GB, free: 3.906 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.000952/0.2923, allocations: 0.6537 MB / 0.9556 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.2923, allocations: 8.031 kB / 0.9556 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.294e-05/0.2924, allocations: 36.47 kB / 0.9556 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004862/0.2929, allocations: 398.2 kB / 0.956 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.2929, allocations: 15.94 kB / 0.956 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.293, allocations: 12 kB / 0.956 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/0.2932, allocations: 119.1 kB / 0.9561 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.2933, allocations: 4 kB / 0.9561 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.2933, allocations: 0 / 0.9561 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.2933, allocations: 3.938 kB / 0.9561 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001651/0.2935, allocations: 67.97 kB / 0.9562 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000864/0.2943, allocations: 0.5393 MB / 0.9567 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003306/0.2947, allocations: 130.6 kB / 0.9569 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.2948, allocations: 48.83 kB / 0.9569 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.2948, allocations: 0 / 0.9569 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002224/0.295, allocations: 111.5 kB / 0.957 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=12): time 1.563e-06/0.2951, allocations: 0 / 0.957 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12): time 0.0004824/0.2955, allocations: 213 kB / 0.9572 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.2956, allocations: 55.41 kB / 0.9573 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005621/0.2962, allocations: 0.521 MB / 0.9578 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.718e-05/0.2962, allocations: 37.69 kB / 0.9578 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.2963, allocations: 180.4 kB / 0.958 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.622e-05/0.2964, allocations: 35.64 kB / 0.958 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.2965, allocations: 73.88 kB / 0.9581 GB, free: 476 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.2966, allocations: 346.8 kB / 0.9584 GB, free: 120 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.2968, allocations: 104.5 kB / 0.9585 GB, free: 16 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/0.2971, allocations: 131.7 kB / 0.9586 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002918/0.2974, allocations: 166.5 kB / 0.9588 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2974, allocations: 0 / 0.9588 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005194/0.2979, allocations: 317.1 kB / 0.9591 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.2979, allocations: 7.938 kB / 0.9591 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.298, allocations: 0 / 0.9591 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.298, allocations: 4 kB / 0.9591 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001938/0.2982, allocations: 55.91 kB / 0.9592 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.2982, allocations: 3.984 kB / 0.9592 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001613/0.2984, allocations: 27.83 kB / 0.9592 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.773e-05/0.2984, allocations: 11.94 kB / 0.9592 GB, free: 15.28 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001745/0.2986, allocations: 185.8 kB / 0.9594 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.564e-05/0.2986, allocations: 35.56 kB / 0.9594 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.49e-05/0.2987, allocations: 39.11 kB / 0.9595 GB, free: 15 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.2987, allocations: 4 kB / 0.9595 GB, free: 15 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2987, allocations: 0 / 0.9595 GB, free: 15 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.2987, allocations: 0 / 0.9595 GB, free: 15 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002648/0.299, allocations: 305.3 kB / 0.9598 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.299, allocations: 3.938 kB / 0.9598 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.713e-05/0.2991, allocations: 19.92 kB / 0.9598 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.2991, allocations: 7.938 kB / 0.9598 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.2991, allocations: 4 kB / 0.9598 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.2991, allocations: 0 / 0.9598 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2991, allocations: 0 / 0.9598 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003269/0.2994, allocations: 192.6 kB / 0.96 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.409e-05/0.2995, allocations: 120.6 kB / 0.9601 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.788e-05/0.2996, allocations: 7.938 kB / 0.9601 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.2997, allocations: 19.98 kB / 0.9601 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.864e-05/0.2998, allocations: 7.984 kB / 0.9601 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.2998, allocations: 11.98 kB / 0.9601 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003341/0.3001, allocations: 327.1 kB / 0.9604 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3001, allocations: 0 / 0.9604 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002884/0.3004, allocations: 60 kB / 0.9605 GB, free: 13.86 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,les.y,lesHys.lesHys.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 5 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,lesHys.lesHys.y,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001061/0.3015, allocations: 424.5 kB / 0.9609 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004848/0.302, allocations: 204 kB / 0.9611 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.302, allocations: 0 / 0.9611 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.3022, allocations: 55.91 kB / 0.9612 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005514/0.3027, allocations: 92 kB / 0.9612 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.3038, allocations: 0.678 MB / 0.9619 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004392/0.3042, allocations: 0.7948 MB / 0.9627 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.646e-05/0.3043, allocations: 31.42 kB / 0.9627 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of SimCode: time 5.01e-07/0.3043, allocations: 4 kB / 0.9627 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of Templates: time 0.007962/0.3123, allocations: 4.6 MB / 0.9672 GB, free: 7.113 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches