Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007813/0.007813, allocations: 100.5 kB / 15.73 MB, free: 6.453 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.001708/0.001709, allocations: 184.8 kB / 16.67 MB, free: 6.367 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.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.395/2.395, allocations: 390.3 MB / 0.6648 GB, free: 160 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002508/0.002508, allocations: 68.94 kB / 0.9505 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3348, allocations: 140.4 MB / 1.088 GB, free: 1.91 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Min): time 0.002131/0.337, allocations: 0.6942 MB / 1.088 GB, free: 1.215 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001002/0.338, allocations: 0.8082 MB / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.125e-05/0.3381, allocations: 7.875 kB / 1.089 GB, free: 396 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.065e-05/0.3382, allocations: 4 kB / 1.089 GB, free: 392 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.5e-05/0.3383, allocations: 11.86 kB / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000112/0.3384, allocations: 15.98 kB / 1.089 GB, free: 364 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.663e-05/0.3385, allocations: 43.84 kB / 1.089 GB, free: 320 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.3386, allocations: 8 kB / 1.089 GB, free: 312 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.582e-05/0.3387, allocations: 15.98 kB / 1.089 GB, free: 296 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.308e-05/0.3387, allocations: 23.86 kB / 1.089 GB, free: 272 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.239e-05/0.3388, allocations: 4 kB / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.227e-05/0.3388, allocations: 8 kB / 1.089 GB, free: 260 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.826e-05/0.3388, allocations: 7.984 kB / 1.089 GB, free: 252 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.256e-05/0.3389, allocations: 15.92 kB / 1.089 GB, free: 236 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.339, allocations: 47.8 kB / 1.089 GB, free: 188 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.339, allocations: 0 / 1.089 GB, free: 188 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.743e-06/0.339, allocations: 0 / 1.089 GB, free: 188 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.339, allocations: 0 / 1.089 GB, free: 188 kB / 0.8419 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.0005541/0.3395, allocations: 354.3 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.3396, allocations: 15.97 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.623e-05/0.3396, allocations: 34.75 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.906e-05/0.3397, allocations: 4.844 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.3398, allocations: 173.2 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.3398, allocations: 4.375 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.3399, allocations: 4.375 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002647/0.3401, allocations: 66.22 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.3401, allocations: 3.938 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.3402, allocations: 4 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3402, allocations: 0 / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002927/0.3405, allocations: 67.86 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003674/0.3408, allocations: 268.8 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.3411, allocations: 58.53 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.3412, allocations: 36.92 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.3412, allocations: 0 / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.3413, allocations: 38.55 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.3413, allocations: 0 / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005543/0.3418, allocations: 133.5 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.3419, allocations: 55.41 kB / 1.09 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.604e-05/0.342, allocations: 113.8 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.342, allocations: 25.7 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.938e-05/0.3421, allocations: 88.14 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.3421, allocations: 11.81 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.875e-05/0.3421, allocations: 21.7 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.3422, allocations: 314.8 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.3424, allocations: 31.91 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.3425, allocations: 35.95 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002832/0.3428, allocations: 76.66 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3428, allocations: 0 / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003233/0.3432, allocations: 93.62 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.3432, allocations: 9.875 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.3432, allocations: 4 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.3432, allocations: 0 / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.3434, allocations: 15.98 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.3434, allocations: 3.984 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.604e-05/0.3435, allocations: 7.984 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.3435, allocations: 8 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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 8.568e-05/0.3436, allocations: 117.7 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.92e-05/0.3436, allocations: 11.91 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003782/0.344, allocations: 105.5 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.344, allocations: 4 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.344, allocations: 0 / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.344, allocations: 0 / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.3442, allocations: 173.6 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3442, allocations: 0 / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.812e-05/0.3443, allocations: 15.98 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3443, allocations: 4 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.3443, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3444, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3444, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003721/0.3447, allocations: 203.3 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.067e-05/0.3448, allocations: 85.02 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.3448, allocations: 0 / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.3449, allocations: 7.984 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.753e-05/0.345, allocations: 8.406 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.345, allocations: 0 / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.716e-05/0.345, allocations: 87.28 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.2e-07/0.345, allocations: 0 / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000218/0.3453, allocations: 4 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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.0007087/0.346, allocations: 0.7319 MB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003505/0.3463, allocations: 79.8 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3464, allocations: 0 / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.3465, allocations: 35.95 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.3469, allocations: 11.94 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005246/0.3474, allocations: 171.2 kB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.3477, allocations: 0.6768 MB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.276e-05/0.3477, allocations: 4 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.563e-05/0.3477, allocations: 15.38 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of SimCode: time 1.613e-06/0.3478, allocations: 0 / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0184/0.3662, allocations: 1.652 MB / 1.095 GB, free: 9.527 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.246/8.612, allocations: 8.672 kB / 1.095 GB, free: 9.52 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Min.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches