Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lesEqu.u1|lesEqu.u2|lesEqu.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lesEqu.u1|lesEqu.u2|lesEqu.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 107.8 kB / 16.37 MB, free: 6.477 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.001339/0.001339, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.311/1.311, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.316/2.316, allocations: 390.3 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 63.09 kB / 0.814 GB, free: 32.65 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2551, allocations: 140.4 MB / 0.9511 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual): time 0.001876/0.257, allocations: 0.713 MB / 0.9518 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008966/0.2579, allocations: 0.806 MB / 0.9526 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.095e-05/0.258, allocations: 0 / 0.9526 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.071e-05/0.258, allocations: 3.938 kB / 0.9526 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.526e-05/0.2581, allocations: 11.92 kB / 0.9526 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 6.507e-05/0.2582, allocations: 7.984 kB / 0.9527 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.819e-05/0.2583, allocations: 47.84 kB / 0.9527 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.2584, allocations: 11.94 kB / 0.9527 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.93e-05/0.2585, allocations: 23.92 kB / 0.9527 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.602e-05/0.2585, allocations: 19.91 kB / 0.9528 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.2585, allocations: 7.938 kB / 0.9528 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.838e-06/0.2586, allocations: 4 kB / 0.9528 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.925e-05/0.2586, allocations: 4 kB / 0.9528 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.385e-05/0.2586, allocations: 23.92 kB / 0.9528 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.511e-05/0.2587, allocations: 43.8 kB / 0.9528 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.81e-06/0.2587, allocations: 0 / 0.9528 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2587, allocations: 4 kB / 0.9528 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.168e-06/0.2588, allocations: 0 / 0.9528 GB, free: 6.344 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005024/0.2593, allocations: 367.3 kB / 0.9532 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.2593, allocations: 8.031 kB / 0.9532 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.749e-05/0.2593, allocations: 4.938 kB / 0.9532 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.2595, allocations: 172.2 kB / 0.9534 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.2595, allocations: 4.375 kB / 0.9534 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.2595, allocations: 8.375 kB / 0.9534 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002379/0.2597, allocations: 70.16 kB / 0.9534 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.2598, allocations: 192 / 0.9534 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.2598, allocations: 3.938 kB / 0.9534 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.2598, allocations: 3.984 kB / 0.9534 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002603/0.2601, allocations: 59.94 kB / 0.9535 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003713/0.2604, allocations: 269 kB / 0.9538 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.2606, allocations: 58.47 kB / 0.9538 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/0.2608, allocations: 36.86 kB / 0.9539 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.2608, allocations: 4 kB / 0.9539 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.2608, allocations: 46.53 kB / 0.9539 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.2608, allocations: 0 / 0.9539 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0004839/0.2613, allocations: 125.5 kB / 0.954 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.2614, allocations: 55.41 kB / 0.9541 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.543e-05/0.2614, allocations: 105.8 kB / 0.9542 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.2615, allocations: 25.7 kB / 0.9542 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.094e-05/0.2615, allocations: 92.12 kB / 0.9543 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.63e-05/0.2615, allocations: 3.906 kB / 0.9543 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/0.2616, allocations: 17.72 kB / 0.9543 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.179e-05/0.2617, allocations: 310.8 kB / 0.9546 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.2618, allocations: 39.89 kB / 0.9546 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.262, allocations: 31.97 kB / 0.9547 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002325/0.2622, allocations: 68.72 kB / 0.9547 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.2622, allocations: 3.938 kB / 0.9547 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002824/0.2625, allocations: 101.5 kB / 0.9548 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.2625, allocations: 7.938 kB / 0.9548 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.2625, allocations: 0 / 0.9548 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.2625, allocations: 0 / 0.9548 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.2627, allocations: 19.97 kB / 0.9549 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.2627, allocations: 3.938 kB / 0.9549 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.684e-05/0.2628, allocations: 15.98 kB / 0.9549 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.2628, allocations: 0 / 0.9549 GB, free: 4.016 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (lesEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 7.204e-05/0.2629, allocations: 121.3 kB / 0.955 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.262e-05/0.2629, allocations: 0 / 0.955 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.306e-05/0.2629, allocations: 3.906 kB / 0.955 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.2629, allocations: 4 kB / 0.955 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.2629, allocations: 0 / 0.955 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.2629, allocations: 3.984 kB / 0.955 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.2631, allocations: 173.6 kB / 0.9552 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.2631, allocations: 4 kB / 0.9552 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.624e-05/0.2632, allocations: 11.98 kB / 0.9552 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2632, allocations: 0 / 0.9552 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.2632, allocations: 4 kB / 0.9552 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2632, allocations: 0 / 0.9552 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2632, allocations: 4 kB / 0.9552 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003198/0.2636, allocations: 207.2 kB / 0.9554 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.741e-05/0.2636, allocations: 81.05 kB / 0.9555 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.2636, allocations: 0 / 0.9555 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.2637, allocations: 11.98 kB / 0.9555 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.793e-05/0.2638, allocations: 7.984 kB / 0.9555 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.2638, allocations: 4 kB / 0.9555 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.798e-05/0.2638, allocations: 83.27 kB / 0.9556 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2638, allocations: 4 kB / 0.9556 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002207/0.2641, allocations: 12 kB / 0.9556 GB, free: 3.195 MB / 0.7325 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 (lesEqu.y) * Number of discrete states: 0 () * 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.0001125/0.2642, allocations: 95.25 kB / 0.9557 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003132/0.2645, allocations: 68.3 kB / 0.9557 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2645, allocations: 4 kB / 0.9558 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.2647, allocations: 35.91 kB / 0.9558 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.265, allocations: 20.05 kB / 0.9558 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003007/0.2653, allocations: 117.5 kB / 0.9559 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000213/0.2655, allocations: 0.6883 MB / 0.9566 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.891e-05/0.2655, allocations: 4 kB / 0.9566 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.152e-05/0.2656, allocations: 15.44 kB / 0.9566 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.2656, allocations: 3.938 kB / 0.9566 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of Templates: time 0.002699/0.2683, allocations: 0.7148 MB / 0.9573 GB, free: 1.383 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.sim & ./Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LessEqual.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches