Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008182/0.0008182, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008707/0.0008707, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8935/0.8935, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.785/1.785, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Less,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Less,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.576e-06/3.576e-06, allocations: 0 / 0.9997 GB, free: 13.4 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.456e-05/2.813e-05, allocations: 6.219 kB / 0.9997 GB, free: 13.39 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.001602/0.00163, allocations: 0.8299 MB / 1.001 GB, free: 12.57 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001024/0.002654, allocations: 0.9218 MB / 1.001 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001331/0.002787, allocations: 0 / 1.001 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001605/0.002948, allocations: 15.8 kB / 1.001 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.626e-05/0.002994, allocations: 15.86 kB / 1.001 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003116/0.003306, allocations: 43.83 kB / 1.002 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.000155/0.003461, allocations: 107.7 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.003621, allocations: 31.91 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002172/0.003838, allocations: 63.88 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.219e-05/0.00391, allocations: 27.91 kB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.003932, allocations: 8 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.825e-05/0.00399, allocations: 15.92 kB / 1.002 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.042e-05/0.004011, allocations: 19.92 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.537e-05/0.004046, allocations: 23.92 kB / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.004242, allocations: 103.6 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.004245, allocations: 0 / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.473e-06/0.004246, allocations: 8 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.004253, allocations: 0 / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000535/0.004788, allocations: 337.9 kB / 1.002 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.004833, allocations: 8.75 kB / 1.002 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.926e-05/0.004873, allocations: 38.73 kB / 1.002 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/0.004995, allocations: 24.83 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.005207, allocations: 141.6 kB / 1.002 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.005218, allocations: 8.375 kB / 1.002 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.005229, allocations: 4.375 kB / 1.002 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.005401, allocations: 98.14 kB / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.005409, allocations: 192 / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.005421, allocations: 4.375 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.005428, allocations: 4.125 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.00556, allocations: 71.94 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000386/0.005946, allocations: 299.7 kB / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.006113, allocations: 62.53 kB / 1.003 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.752e-05/0.00618, allocations: 36.92 kB / 1.003 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.006199, allocations: 3.984 kB / 1.003 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.006223, allocations: 38.56 kB / 1.003 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.006224, allocations: 3.938 kB / 1.003 GB, free: 9.859 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0003138/0.006538, allocations: 117.5 kB / 1.003 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.006576, allocations: 55.41 kB / 1.003 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.932e-05/0.006675, allocations: 135.8 kB / 1.003 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.006696, allocations: 29.7 kB / 1.003 GB, free: 9.496 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.256e-05/0.006769, allocations: 108 kB / 1.003 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.006789, allocations: 11.91 kB / 1.003 GB, free: 9.375 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.28e-05/0.006832, allocations: 21.7 kB / 1.004 GB, free: 9.348 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.006947, allocations: 322.8 kB / 1.004 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.121e-05/0.007018, allocations: 27.97 kB / 1.004 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.337e-05/0.007092, allocations: 35.97 kB / 1.004 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.007216, allocations: 60.69 kB / 1.004 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.007219, allocations: 4 kB / 1.004 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001713/0.00739, allocations: 97.59 kB / 1.004 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.007409, allocations: 4 kB / 1.004 GB, free: 8.789 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.007415, allocations: 0 / 1.004 GB, free: 8.789 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.007433, allocations: 4 kB / 1.004 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.547e-05/0.007518, allocations: 11.98 kB / 1.004 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.007526, allocations: 0 / 1.004 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.916e-05/0.007585, allocations: 23.97 kB / 1.004 GB, free: 8.75 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.007598, allocations: 3.938 kB / 1.004 GB, free: 8.746 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (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 (5): * Single equations (assignments): 5 * 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.406e-05/0.007692, allocations: 117.8 kB / 1.004 GB, free: 8.621 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.58e-05/0.007708, allocations: 3.953 kB / 1.004 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.869e-05/0.007737, allocations: 12.34 kB / 1.004 GB, free: 8.598 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.00774, allocations: 7.922 kB / 1.004 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.007745, allocations: 0 / 1.004 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.007749, allocations: 0 / 1.004 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/0.007893, allocations: 152.7 kB / 1.004 GB, free: 8.398 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.007896, allocations: 4 kB / 1.004 GB, free: 8.395 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.571e-05/0.007932, allocations: 11.98 kB / 1.004 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.007934, allocations: 4 kB / 1.004 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.007942, allocations: 0 / 1.004 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.007944, allocations: 192 / 1.004 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.007947, allocations: 4 kB / 1.004 GB, free: 8.375 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.008117, allocations: 191.4 kB / 1.005 GB, free: 8.172 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.029e-05/0.008128, allocations: 11.89 kB / 1.005 GB, free: 8.16 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.008142, allocations: 3.938 kB / 1.005 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.011e-05/0.008202, allocations: 19.98 kB / 1.005 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/0.008249, allocations: 15.97 kB / 1.005 GB, free: 8.121 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.008253, allocations: 0 / 1.005 GB, free: 8.121 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.35e-05/0.008296, allocations: 104.6 kB / 1.005 GB, free: 8.02 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.008296, allocations: 0 / 1.005 GB, free: 8.02 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001562/0.008453, allocations: 15.94 kB / 1.005 GB, free: 8.004 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (les.y,lesHys.lesHys.y) * Number of discrete states: 1 (lesHys.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0003354/0.008788, allocations: 0.7163 MB / 1.005 GB, free: 7.262 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001659/0.008954, allocations: 71.88 kB / 1.005 GB, free: 7.191 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.008955, allocations: 0 / 1.005 GB, free: 7.191 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.977e-05/0.009015, allocations: 28.25 kB / 1.006 GB, free: 7.164 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.009221, allocations: 17.7 kB / 1.006 GB, free: 7.148 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.01038, allocations: 1.487 MB / 1.007 GB, free: 5.574 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.227e-05/0.01043, allocations: 83.31 kB / 1.007 GB, free: 5.473 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.589e-05/0.01047, allocations: 11.92 kB / 1.007 GB, free: 5.461 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.86e-05/0.01052, allocations: 24.5 kB / 1.007 GB, free: 5.438 MB / 0.9636 GB Notification: Performance of SimCode: time 5.81e-07/0.01052, allocations: 0 / 1.007 GB, free: 5.438 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01592/0.02643, allocations: 2.926 MB / 1.01 GB, free: 2.645 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.469/6.495, allocations: 2.438 kB / 1.01 GB, free: 2.645 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Less_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Less.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Less.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.60150359198451]