Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001323/0.001323, allocations: 109.4 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.001386/0.001386, 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.495/1.495, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.367/3.367, allocations: 497.2 MB / 0.7811 GB, free: 33.74 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 63.84 kB / 1.134 GB, free: 33.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3651, allocations: 173.9 MB / 1.304 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.002185/0.3673, allocations: 0.8359 MB / 1.305 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001295/0.3674, allocations: 43.78 kB / 1.305 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.911e-05/0.3675, allocations: 4 kB / 1.305 GB, free: 0.6562 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.02e-05/0.3675, allocations: 7.875 kB / 1.305 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.459e-05/0.3676, allocations: 3.938 kB / 1.305 GB, free: 0.6445 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.114e-05/0.3677, allocations: 23.97 kB / 1.305 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.3678, allocations: 63.78 kB / 1.305 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.3679, allocations: 27.98 kB / 1.305 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.295e-05/0.368, allocations: 23.86 kB / 1.305 GB, free: 0.5078 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.447e-05/0.368, allocations: 27.8 kB / 1.305 GB, free: 492 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.3681, allocations: 8 kB / 1.305 GB, free: 484 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.385e-05/0.3681, allocations: 8 kB / 1.305 GB, free: 476 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.064e-05/0.3681, allocations: 19.92 kB / 1.305 GB, free: 456 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.34e-05/0.3681, allocations: 35.8 kB / 1.305 GB, free: 420 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001258/0.3683, allocations: 79.8 kB / 1.305 GB, free: 340 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3683, allocations: 0 / 1.305 GB, free: 340 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3683, allocations: 0 / 1.305 GB, free: 340 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.3683, allocations: 0 / 1.305 GB, free: 340 kB / 0.9981 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.0004924/0.3688, allocations: 383.1 kB / 1.306 GB, free: 15.91 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.3688, allocations: 12.62 kB / 1.306 GB, free: 15.89 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.466e-05/0.3689, allocations: 42.73 kB / 1.306 GB, free: 15.84 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.929e-05/0.3689, allocations: 12.89 kB / 1.306 GB, free: 15.83 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.3691, allocations: 196.2 kB / 1.306 GB, free: 15.6 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.3692, allocations: 8.375 kB / 1.306 GB, free: 15.59 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/0.3692, allocations: 4.375 kB / 1.306 GB, free: 15.59 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.3694, allocations: 94.12 kB / 1.306 GB, free: 15.49 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.3694, allocations: 3.938 kB / 1.306 GB, free: 15.48 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.3694, allocations: 11.88 kB / 1.306 GB, free: 15.47 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.3694, allocations: 4 kB / 1.306 GB, free: 15.47 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.381e-05/0.3695, allocations: 39.92 kB / 1.306 GB, free: 15.43 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005987/0.3701, allocations: 428.7 kB / 1.306 GB, free: 14.96 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 7.334e-05/0.3701, allocations: 41.28 kB / 1.306 GB, free: 14.9 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.557e-05/0.3702, allocations: 25.83 kB / 1.306 GB, free: 14.87 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.3702, allocations: 4 kB / 1.306 GB, free: 14.86 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.3702, allocations: 30.56 kB / 1.306 GB, free: 14.82 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.3702, allocations: 0 / 1.306 GB, free: 14.82 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0002123/0.3704, allocations: 53.53 kB / 1.306 GB, free: 14.77 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.514e-05/0.3705, allocations: 81.36 kB / 1.307 GB, free: 14.67 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.3707, allocations: 161.3 kB / 1.307 GB, free: 14.5 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.3707, allocations: 29.7 kB / 1.307 GB, free: 14.47 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.521e-05/0.3708, allocations: 108 kB / 1.307 GB, free: 14.36 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.074e-05/0.3708, allocations: 7.953 kB / 1.307 GB, free: 14.35 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-05/0.3708, allocations: 13.72 kB / 1.307 GB, free: 14.33 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.371, allocations: 322.8 kB / 1.307 GB, free: 14.01 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.037e-05/0.371, allocations: 8 kB / 1.307 GB, free: 14 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.046e-05/0.3711, allocations: 25.69 kB / 1.307 GB, free: 13.97 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.57e-05/0.3711, allocations: 29.72 kB / 1.307 GB, free: 13.93 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3711, allocations: 0 / 1.307 GB, free: 13.93 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.681e-05/0.3712, allocations: 53.59 kB / 1.307 GB, free: 13.88 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.3712, allocations: 11.92 kB / 1.307 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.3712, allocations: 4 kB / 1.307 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.3712, allocations: 0 / 1.307 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.958e-05/0.3713, allocations: 8.062 kB / 1.307 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.3713, allocations: 0 / 1.307 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.295e-05/0.3713, allocations: 7.953 kB / 1.307 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.3713, allocations: 0 / 1.307 GB, free: 13.84 MB / 1.014 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 9.601e-05/0.3714, allocations: 117.8 kB / 1.307 GB, free: 13.72 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.891e-05/0.3715, allocations: 11.89 kB / 1.307 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.404e-05/0.3715, allocations: 15.86 kB / 1.307 GB, free: 13.69 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3715, allocations: 0 / 1.307 GB, free: 13.69 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3715, allocations: 3.938 kB / 1.307 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3715, allocations: 8 kB / 1.307 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004432/0.372, allocations: 466.8 kB / 1.308 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.372, allocations: 4 kB / 1.308 GB, free: 13.15 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.694e-05/0.372, allocations: 3.938 kB / 1.308 GB, free: 13.15 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.372, allocations: 4 kB / 1.308 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.372, allocations: 0 / 1.308 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.372, allocations: 3.938 kB / 1.308 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.372, allocations: 4.062 kB / 1.308 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.3721, allocations: 81.88 kB / 1.308 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.842e-05/0.3722, allocations: 96.98 kB / 1.308 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.3722, allocations: 0 / 1.308 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.211e-05/0.3722, allocations: 4 kB / 1.308 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.996e-05/0.3723, allocations: 0 / 1.308 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-06/0.3723, allocations: 4.031 kB / 1.308 GB, free: 12.91 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000112/0.3724, allocations: 123.2 kB / 1.308 GB, free: 12.79 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3724, allocations: 0 / 1.308 GB, free: 12.79 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001925/0.3726, allocations: 11.95 kB / 1.308 GB, free: 12.78 MB / 1.014 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.0005508/0.3731, allocations: 0.6133 MB / 1.309 GB, free: 12.14 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001261/0.3732, allocations: 19.94 kB / 1.309 GB, free: 12.12 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.3732, allocations: 0 / 1.309 GB, free: 12.12 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.11e-05/0.3733, allocations: 4 kB / 1.309 GB, free: 12.11 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001888/0.3734, allocations: 8 kB / 1.309 GB, free: 12.11 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.3751, allocations: 1.338 MB / 1.31 GB, free: 10.67 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004304/0.3755, allocations: 0.6963 MB / 1.311 GB, free: 9.949 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.398e-05/0.3756, allocations: 4.438 kB / 1.311 GB, free: 9.945 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.854e-05/0.3756, allocations: 27.42 kB / 1.311 GB, free: 9.918 MB / 1.014 GB Notification: Performance of SimCode: time 1.302e-06/0.3756, allocations: 0 / 1.311 GB, free: 9.918 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02634/0.402, allocations: 1.592 MB / 1.312 GB, free: 8.434 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.009/8.411, allocations: 6.328 kB / 1.312 GB, free: 8.43 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.48546579759568]