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.001225/0.001225, allocations: 119.6 kB / 16.37 MB, free: 6.016 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.001369/0.001369, allocations: 193 kB / 17.31 MB, free: 5.613 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.272/1.272, allocations: 222.9 MB / 241 MB, free: 15.18 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.138/2.138, allocations: 390.3 MB / 0.6655 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 62.05 kB / 0.814 GB, free: 32.62 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2322, allocations: 140.4 MB / 0.9512 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual): time 0.001871/0.2341, allocations: 0.7178 MB / 0.9519 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000769/0.2349, allocations: 0.8022 MB / 0.9526 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.021e-05/0.2349, allocations: 0 / 0.9526 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.768e-05/0.2349, allocations: 3.938 kB / 0.9526 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.038e-05/0.235, allocations: 3.938 kB / 0.9526 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.654e-05/0.2351, allocations: 15.98 kB / 0.9527 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.118e-05/0.2351, allocations: 47.84 kB / 0.9527 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.395e-05/0.2352, allocations: 8 kB / 0.9527 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.882e-05/0.2353, allocations: 15.92 kB / 0.9527 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.534e-05/0.2354, allocations: 27.86 kB / 0.9528 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.2354, allocations: 4 kB / 0.9528 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.007e-06/0.2354, allocations: 4 kB / 0.9528 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.881e-05/0.2354, allocations: 11.97 kB / 0.9528 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.201e-05/0.2355, allocations: 19.92 kB / 0.9528 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.684e-05/0.2356, allocations: 39.81 kB / 0.9528 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2356, allocations: 4 kB / 0.9528 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2356, allocations: 0 / 0.9528 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.2356, allocations: 0 / 0.9528 GB, free: 6.305 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.0004612/0.236, allocations: 363.3 kB / 0.9532 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.2361, allocations: 8.031 kB / 0.9532 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.589e-05/0.2361, allocations: 8.922 kB / 0.9532 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.2362, allocations: 176.2 kB / 0.9534 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-06/0.2362, allocations: 384 / 0.9534 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.2363, allocations: 8.359 kB / 0.9534 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002292/0.2365, allocations: 74.16 kB / 0.9534 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.2365, allocations: 192 / 0.9534 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.2365, allocations: 3.938 kB / 0.9534 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.2365, allocations: 0 / 0.9534 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000261/0.2368, allocations: 67.92 kB / 0.9535 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003102/0.2371, allocations: 269 kB / 0.9538 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.2373, allocations: 62.41 kB / 0.9538 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/0.2375, allocations: 36.92 kB / 0.9539 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.2375, allocations: 4 kB / 0.9539 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.2375, allocations: 30.56 kB / 0.9539 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.2375, allocations: 0 / 0.9539 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0004796/0.238, allocations: 129.5 kB / 0.954 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.238, allocations: 55.41 kB / 0.9541 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.195e-05/0.2381, allocations: 113.8 kB / 0.9542 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.2381, allocations: 29.64 kB / 0.9542 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.316e-05/0.2382, allocations: 84.14 kB / 0.9543 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.537e-05/0.2382, allocations: 7.906 kB / 0.9543 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/0.2382, allocations: 17.7 kB / 0.9543 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.406e-05/0.2383, allocations: 314.8 kB / 0.9546 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.2385, allocations: 31.97 kB / 0.9546 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.2386, allocations: 35.89 kB / 0.9547 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002346/0.2388, allocations: 68.78 kB / 0.9547 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.2389, allocations: 3.938 kB / 0.9547 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002829/0.2391, allocations: 97.53 kB / 0.9548 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.2392, allocations: 8 kB / 0.9548 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.2392, allocations: 0 / 0.9548 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.2392, allocations: 0 / 0.9548 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.2393, allocations: 19.92 kB / 0.9549 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.2393, allocations: 0 / 0.9549 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.273e-05/0.2394, allocations: 19.97 kB / 0.9549 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-06/0.2394, allocations: 4 kB / 0.9549 GB, free: 3.969 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 6.48e-05/0.2395, allocations: 113.8 kB / 0.955 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.2395, allocations: 4 kB / 0.955 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.966e-05/0.2395, allocations: 7.906 kB / 0.955 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.2395, allocations: 0 / 0.955 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.2396, allocations: 0 / 0.955 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.2396, allocations: 0 / 0.955 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.2397, allocations: 173.6 kB / 0.9552 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2397, allocations: 336 / 0.9552 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.868e-05/0.2398, allocations: 15.98 kB / 0.9552 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2398, allocations: 0 / 0.9552 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.2398, allocations: 4 kB / 0.9552 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2398, allocations: 0 / 0.9552 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2398, allocations: 0 / 0.9552 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003215/0.2402, allocations: 207.2 kB / 0.9554 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.18e-05/0.2402, allocations: 81.05 kB / 0.9555 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.2402, allocations: 4 kB / 0.9555 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.2403, allocations: 7.984 kB / 0.9555 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.415e-05/0.2404, allocations: 11.98 kB / 0.9555 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.2404, allocations: 0 / 0.9555 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.852e-05/0.2404, allocations: 91.28 kB / 0.9556 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2405, allocations: 0 / 0.9556 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002146/0.2407, allocations: 4 kB / 0.9556 GB, free: 3.16 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 9.103e-05/0.2408, allocations: 103.2 kB / 0.9557 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002964/0.2411, allocations: 63.92 kB / 0.9557 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.2411, allocations: 11.94 kB / 0.9558 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.2412, allocations: 39.84 kB / 0.9558 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.2415, allocations: 17.95 kB / 0.9558 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002634/0.2418, allocations: 121.5 kB / 0.9559 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.242, allocations: 0.6844 MB / 0.9566 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.512e-05/0.242, allocations: 4 kB / 0.9566 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.584e-05/0.2421, allocations: 7.438 kB / 0.9566 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.2421, allocations: 0 / 0.9566 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of Templates: time 0.00252/0.2446, allocations: 0.722 MB / 0.9573 GB, free: 1.34 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 gbode -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