Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 107 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002053/0.002053, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.637/2.637, allocations: 443.5 MB / 0.7287 GB, free: 13.24 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Reals.Validation.Exp,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 67.89 kB / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8423/0.8442, allocations: 160.8 MB / 1.213 GB, free: 5.383 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001886/0.8461, allocations: 0.6545 MB / 1.214 GB, free: 4.738 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009449/0.8471, allocations: 0.8039 MB / 1.214 GB, free: 3.922 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.021e-05/0.8471, allocations: 0 / 1.214 GB, free: 3.922 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.975e-05/0.8471, allocations: 7.922 kB / 1.214 GB, free: 3.914 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.829e-05/0.8472, allocations: 4 kB / 1.214 GB, free: 3.91 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000131/0.8473, allocations: 7.938 kB / 1.214 GB, free: 3.902 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.993e-05/0.8474, allocations: 27.98 kB / 1.214 GB, free: 3.875 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.382e-05/0.8475, allocations: 4 kB / 1.214 GB, free: 3.871 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.984e-05/0.8475, allocations: 23.84 kB / 1.214 GB, free: 3.848 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.537e-05/0.8476, allocations: 4 kB / 1.214 GB, free: 3.844 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.8476, allocations: 4 kB / 1.214 GB, free: 3.84 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.554e-06/0.8476, allocations: 0 / 1.214 GB, free: 3.84 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.419e-05/0.8476, allocations: 7.984 kB / 1.214 GB, free: 3.832 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.608e-05/0.8476, allocations: 7.938 kB / 1.215 GB, free: 3.824 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 8.236e-05/0.8477, allocations: 21.73 kB / 1.215 GB, free: 3.805 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.8477, allocations: 0 / 1.215 GB, free: 3.805 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.833e-06/0.8477, allocations: 0 / 1.215 GB, free: 3.805 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.8477, allocations: 8 kB / 1.215 GB, free: 3.797 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004873/0.8482, allocations: 335.5 kB / 1.215 GB, free: 3.418 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.8483, allocations: 8.922 kB / 1.215 GB, free: 3.41 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.476e-05/0.8483, allocations: 30.75 kB / 1.215 GB, free: 3.371 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.134e-05/0.8483, allocations: 4.938 kB / 1.215 GB, free: 3.367 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.8485, allocations: 176.3 kB / 1.215 GB, free: 3.156 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.8485, allocations: 384 / 1.215 GB, free: 3.156 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.8485, allocations: 4.375 kB / 1.215 GB, free: 3.152 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.8487, allocations: 58.16 kB / 1.215 GB, free: 3.09 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.8487, allocations: 7.875 kB / 1.215 GB, free: 3.082 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.8487, allocations: 4 kB / 1.215 GB, free: 3.078 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.8487, allocations: 0 / 1.215 GB, free: 3.078 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001651/0.8488, allocations: 31.97 kB / 1.215 GB, free: 3.047 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003424/0.8492, allocations: 249 kB / 1.215 GB, free: 2.754 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.8493, allocations: 46.5 kB / 1.215 GB, free: 2.699 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.377e-05/0.8494, allocations: 20.91 kB / 1.215 GB, free: 2.676 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.8494, allocations: 0 / 1.215 GB, free: 2.676 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.8495, allocations: 42.48 kB / 1.216 GB, free: 2.625 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.8495, allocations: 0 / 1.216 GB, free: 2.625 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003707/0.8498, allocations: 81.59 kB / 1.216 GB, free: 2.539 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.8499, allocations: 55.39 kB / 1.216 GB, free: 2.473 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.21e-05/0.85, allocations: 97.86 kB / 1.216 GB, free: 2.367 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.85, allocations: 25.7 kB / 1.216 GB, free: 2.336 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.309e-05/0.85, allocations: 84.14 kB / 1.216 GB, free: 2.25 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.8501, allocations: 7.953 kB / 1.216 GB, free: 2.242 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.8501, allocations: 21.83 kB / 1.216 GB, free: 2.215 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.8502, allocations: 310.8 kB / 1.216 GB, free: 1.902 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.035e-05/0.8503, allocations: 15.98 kB / 1.216 GB, free: 1.887 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.749e-05/0.8504, allocations: 15.92 kB / 1.216 GB, free: 1.871 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.8506, allocations: 40.81 kB / 1.216 GB, free: 1.828 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.8506, allocations: 8 kB / 1.216 GB, free: 1.82 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001932/0.8508, allocations: 69.62 kB / 1.216 GB, free: 1.746 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.8508, allocations: 4 kB / 1.216 GB, free: 1.742 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.8508, allocations: 3.984 kB / 1.216 GB, free: 1.738 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.8508, allocations: 0 / 1.216 GB, free: 1.738 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.267e-05/0.8509, allocations: 8 kB / 1.216 GB, free: 1.73 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.359e-06/0.8509, allocations: 0 / 1.216 GB, free: 1.73 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.818e-05/0.8509, allocations: 12.02 kB / 1.216 GB, free: 1.719 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.8509, allocations: 0 / 1.216 GB, free: 1.719 MB / 0.92 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 (2): * Single equations (assignments): 2 * 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.41e-05/0.851, allocations: 117.7 kB / 1.216 GB, free: 1.594 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.851, allocations: 0 / 1.216 GB, free: 1.594 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002193/0.8513, allocations: 68.78 kB / 1.217 GB, free: 1.516 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.8513, allocations: 7.984 kB / 1.217 GB, free: 1.508 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.8513, allocations: 0 / 1.217 GB, free: 1.508 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.8513, allocations: 4.031 kB / 1.217 GB, free: 1.504 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001785/0.8515, allocations: 157.6 kB / 1.217 GB, free: 1.301 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.8515, allocations: 0 / 1.217 GB, free: 1.301 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.606e-05/0.8515, allocations: 7.984 kB / 1.217 GB, free: 1.293 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.8515, allocations: 4 kB / 1.217 GB, free: 1.289 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.8515, allocations: 0 / 1.217 GB, free: 1.289 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.8515, allocations: 3.938 kB / 1.217 GB, free: 1.285 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.8515, allocations: 0 / 1.217 GB, free: 1.285 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002503/0.8518, allocations: 171.4 kB / 1.217 GB, free: 1.102 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.658e-05/0.8518, allocations: 81.06 kB / 1.217 GB, free: 1.004 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.8518, allocations: 0 / 1.217 GB, free: 1.004 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.552e-05/0.8519, allocations: 11.92 kB / 1.217 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.219e-05/0.8519, allocations: 4 kB / 1.217 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.463e-06/0.8519, allocations: 4 kB / 1.217 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.948e-05/0.852, allocations: 87.45 kB / 1.217 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.852, allocations: 4.031 kB / 1.217 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002131/0.8522, allocations: 4 kB / 1.217 GB, free: 0.8906 MB / 0.92 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 (2): * Single equations (assignments): 2 * 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.0006408/0.8529, allocations: 0.693 MB / 1.218 GB, free: 172 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001956/0.8531, allocations: 36 kB / 1.218 GB, free: 136 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.8531, allocations: 0 / 1.218 GB, free: 136 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.251e-05/0.8531, allocations: 19.97 kB / 1.218 GB, free: 116 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.8535, allocations: 10.81 kB / 1.218 GB, free: 108 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004609/0.8539, allocations: 131.1 kB / 1.218 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.8543, allocations: 0.6808 MB / 1.219 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.418e-05/0.8543, allocations: 7.922 kB / 1.219 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.632e-05/0.8543, allocations: 11.44 kB / 1.219 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/0.8543, allocations: 0 / 1.219 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02443/0.8788, allocations: 1.262 MB / 1.22 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.141/9.02, allocations: 22.61 kB / 1.22 GB, free: 14.02 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Exp_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Exp.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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: 14.749798609875143]