Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.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.001616/0.001616, allocations: 110.6 kB / 16.46 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.001602/0.001602, 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.504/1.504, allocations: 225.6 MB / 247.8 MB, free: 13.92 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.704/2.704, allocations: 443.5 MB / 0.7287 GB, free: 13.22 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.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 71.88 kB / 1.056 GB, free: 5.824 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8666/0.8686, allocations: 160.7 MB / 1.213 GB, free: 3.832 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.00276/0.8713, allocations: 0.8367 MB / 1.214 GB, free: 3.195 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001605/0.8715, allocations: 40 kB / 1.214 GB, free: 3.16 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.721e-05/0.8715, allocations: 2.25 kB / 1.214 GB, free: 3.16 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.417e-05/0.8716, allocations: 11.81 kB / 1.214 GB, free: 3.148 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.667e-05/0.8717, allocations: 13 kB / 1.214 GB, free: 3.137 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.989e-05/0.8717, allocations: 19.38 kB / 1.214 GB, free: 3.121 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.8719, allocations: 58.34 kB / 1.214 GB, free: 3.086 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.872, allocations: 38.28 kB / 1.214 GB, free: 3.059 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.865e-05/0.8721, allocations: 27.39 kB / 1.214 GB, free: 3.039 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.253e-05/0.8721, allocations: 25.52 kB / 1.214 GB, free: 3.02 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.8721, allocations: 5.656 kB / 1.214 GB, free: 3.02 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.084e-05/0.8721, allocations: 6.406 kB / 1.214 GB, free: 3.02 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.884e-05/0.8722, allocations: 21.41 kB / 1.214 GB, free: 3 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.127e-05/0.8722, allocations: 31.22 kB / 1.214 GB, free: 2.977 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.8724, allocations: 75.31 kB / 1.214 GB, free: 2.918 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.8724, allocations: 0 / 1.214 GB, free: 2.918 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.325e-06/0.8724, allocations: 1.031 kB / 1.214 GB, free: 2.918 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.8724, allocations: 0 / 1.214 GB, free: 2.918 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005015/0.8729, allocations: 382.8 kB / 1.214 GB, free: 2.516 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.8729, allocations: 9.594 kB / 1.214 GB, free: 2.516 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.057e-05/0.873, allocations: 45.58 kB / 1.215 GB, free: 2.465 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.953e-05/0.873, allocations: 13.25 kB / 1.215 GB, free: 2.457 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.8733, allocations: 202.2 kB / 1.215 GB, free: 2.23 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.8733, allocations: 7.719 kB / 1.215 GB, free: 2.227 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.8733, allocations: 4.719 kB / 1.215 GB, free: 2.227 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/0.8735, allocations: 105.3 kB / 1.215 GB, free: 2.141 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.8735, allocations: 3.938 kB / 1.215 GB, free: 2.137 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.8736, allocations: 4.75 kB / 1.215 GB, free: 2.133 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.8736, allocations: 1.625 kB / 1.215 GB, free: 2.133 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.616e-05/0.8736, allocations: 31.7 kB / 1.215 GB, free: 2.121 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007137/0.8744, allocations: 436.9 kB / 1.215 GB, free: 1.684 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.978e-05/0.8744, allocations: 41.31 kB / 1.215 GB, free: 1.629 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.295e-05/0.8745, allocations: 23.14 kB / 1.215 GB, free: 1.605 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.619e-06/0.8745, allocations: 0 / 1.215 GB, free: 1.605 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.282e-05/0.8745, allocations: 36.75 kB / 1.215 GB, free: 1.562 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.8745, allocations: 4 kB / 1.215 GB, free: 1.559 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0002207/0.8748, allocations: 54.88 kB / 1.215 GB, free: 1.512 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.101e-05/0.8749, allocations: 77.95 kB / 1.216 GB, free: 1.418 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002185/0.8751, allocations: 160.7 kB / 1.216 GB, free: 1.289 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.8751, allocations: 25.7 kB / 1.216 GB, free: 1.258 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.877e-05/0.8752, allocations: 104.3 kB / 1.216 GB, free: 1.156 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 9.518e-06/0.8752, allocations: 5.172 kB / 1.216 GB, free: 1.152 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.49e-05/0.8752, allocations: 26.42 kB / 1.216 GB, free: 1.125 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002369/0.8755, allocations: 317.1 kB / 1.216 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.255e-05/0.8755, allocations: 6.312 kB / 1.216 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.582e-05/0.8755, allocations: 22.64 kB / 1.216 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.534e-05/0.8756, allocations: 26.62 kB / 1.216 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.8756, allocations: 1.062 kB / 1.216 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001103/0.8757, allocations: 62.66 kB / 1.216 GB, free: 0.707 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.8757, allocations: 9.656 kB / 1.216 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.8757, allocations: 96 / 1.216 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.58e-05/0.8758, allocations: 4.797 kB / 1.216 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.048e-05/0.8758, allocations: 14.19 kB / 1.216 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.8758, allocations: 3.938 kB / 1.216 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.165e-05/0.8759, allocations: 6.25 kB / 1.216 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.8759, allocations: 2.281 kB / 1.216 GB, free: 0.6836 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (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 prepare postOptimizeDAE: time 0.0001223/0.876, allocations: 112.7 kB / 1.216 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.899e-05/0.8761, allocations: 16.3 kB / 1.216 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.967e-05/0.8761, allocations: 10.36 kB / 1.216 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.8761, allocations: 4.75 kB / 1.216 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.8761, allocations: 0.75 kB / 1.216 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.8761, allocations: 0.7812 kB / 1.216 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005351/0.8766, allocations: 478.2 kB / 1.217 GB, free: 28 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.8766, allocations: 0.75 kB / 1.217 GB, free: 28 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.932e-05/0.8767, allocations: 7.5 kB / 1.217 GB, free: 24 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.8767, allocations: 1.094 kB / 1.217 GB, free: 24 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.8767, allocations: 1.094 kB / 1.217 GB, free: 24 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.8767, allocations: 3.984 kB / 1.217 GB, free: 20 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.8767, allocations: 1.062 kB / 1.217 GB, free: 20 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/0.8768, allocations: 86.22 kB / 1.217 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.387e-05/0.8769, allocations: 92.3 kB / 1.217 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.8769, allocations: 1.094 kB / 1.217 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.117e-05/0.8769, allocations: 1.031 kB / 1.217 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.495e-05/0.877, allocations: 1.156 kB / 1.217 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.877, allocations: 0.8438 kB / 1.217 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000127/0.8771, allocations: 121 kB / 1.217 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.8771, allocations: 0.7188 kB / 1.217 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001958/0.8773, allocations: 11.19 kB / 1.217 GB, free: 15.72 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0005775/0.8779, allocations: 0.6155 MB / 1.218 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001156/0.878, allocations: 14.59 kB / 1.218 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.878, allocations: 0 / 1.218 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.999e-05/0.878, allocations: 12.41 kB / 1.218 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001845/0.8782, allocations: 19.47 kB / 1.218 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/0.8798, allocations: 1.332 MB / 1.219 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003946/0.8802, allocations: 0.6919 MB / 1.22 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.922e-05/0.8803, allocations: 11.92 kB / 1.22 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.373e-05/0.8803, allocations: 23.09 kB / 1.22 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/0.8803, allocations: 3.938 kB / 1.22 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02634/0.9066, allocations: 1.582 MB / 1.221 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.09/8.996, allocations: 10.2 kB / 1.221 GB, free: 12.25 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.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: 15.031339659821242]