Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.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.001775/0.001775, allocations: 116.1 kB / 17.17 MB, free: 6 MB / 14.72 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.002279/0.002279, allocations: 209.5 kB / 20.13 MB, free: 3.055 MB / 14.72 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 1.562/1.562, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.919/2.919, allocations: 476.7 MB / 0.7678 GB, free: 9.398 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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.UnitConversions.Validation.To_inH2O,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002341/0.002341, allocations: 67.89 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.264/1.266, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.002318/1.269, allocations: 0.8308 MB / 1.28 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001291/1.269, allocations: 40.86 kB / 1.28 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.99e-05/1.269, allocations: 5.156 kB / 1.28 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.006e-05/1.269, allocations: 5.906 kB / 1.28 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.642e-05/1.269, allocations: 10.02 kB / 1.28 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.805e-05/1.269, allocations: 19.95 kB / 1.28 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001444/1.269, allocations: 59.61 kB / 1.28 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001705/1.269, allocations: 39.42 kB / 1.28 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.333e-05/1.269, allocations: 28.42 kB / 1.28 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.629e-05/1.269, allocations: 26.02 kB / 1.28 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.925e-05/1.269, allocations: 6.781 kB / 1.28 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.38e-05/1.269, allocations: 9.469 kB / 1.28 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.752e-05/1.27, allocations: 12.45 kB / 1.28 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.833e-05/1.27, allocations: 40.33 kB / 1.28 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001728/1.27, allocations: 77.75 kB / 1.28 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.27, allocations: 0 / 1.28 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.054e-06/1.27, allocations: 0 / 1.28 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.222e-06/1.27, allocations: 1.125 kB / 1.28 GB, free: 10.98 MB / 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.0005674/1.27, allocations: 380.4 kB / 1.28 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/1.27, allocations: 9.844 kB / 1.281 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.867e-05/1.27, allocations: 6.328 kB / 1.281 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.198e-05/1.27, allocations: 38.81 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.322e-05/1.27, allocations: 9.703 kB / 1.281 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/1.271, allocations: 205.2 kB / 1.281 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/1.271, allocations: 11.5 kB / 1.281 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/1.271, allocations: 8.5 kB / 1.281 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/1.271, allocations: 96.48 kB / 1.281 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/1.271, allocations: 4 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/1.271, allocations: 6.641 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/1.271, allocations: 1.938 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.046e-05/1.271, allocations: 35.55 kB / 1.281 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006927/1.272, allocations: 433.6 kB / 1.281 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.513e-05/1.272, allocations: 46.33 kB / 1.281 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.461e-05/1.272, allocations: 20.09 kB / 1.281 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/1.272, allocations: 0.6562 kB / 1.281 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/1.272, allocations: 35.59 kB / 1.281 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.684e-06/1.272, allocations: 0 / 1.281 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0002404/1.272, allocations: 57.8 kB / 1.281 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/1.272, allocations: 78.83 kB / 1.282 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/1.273, allocations: 159.8 kB / 1.282 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/1.273, allocations: 26.8 kB / 1.282 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.981e-05/1.273, allocations: 111.3 kB / 1.282 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.234e-05/1.273, allocations: 5.828 kB / 1.282 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/1.273, allocations: 13.88 kB / 1.282 GB, free: 9.281 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002438/1.273, allocations: 323.7 kB / 1.282 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.282e-05/1.273, allocations: 12.72 kB / 1.282 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.602e-05/1.273, allocations: 15.72 kB / 1.282 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.314e-05/1.273, allocations: 27.72 kB / 1.282 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/1.273, allocations: 0 / 1.282 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000103/1.273, allocations: 57.06 kB / 1.282 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/1.273, allocations: 10.02 kB / 1.282 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/1.273, allocations: 5.125 kB / 1.282 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.396e-05/1.273, allocations: 1.219 kB / 1.282 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.762e-05/1.273, allocations: 5.75 kB / 1.282 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/1.273, allocations: 5.688 kB / 1.282 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.722e-05/1.273, allocations: 13.95 kB / 1.282 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/1.273, allocations: 1.094 kB / 1.282 GB, free: 8.848 MB / 0.9981 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.00011/1.273, allocations: 114.7 kB / 1.282 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.791e-05/1.273, allocations: 11.59 kB / 1.282 GB, free: 8.723 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.314e-05/1.274, allocations: 8.969 kB / 1.282 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/1.274, allocations: 9.188 kB / 1.282 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/1.274, allocations: 4.875 kB / 1.282 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/1.274, allocations: 0.75 kB / 1.282 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004829/1.274, allocations: 466.9 kB / 1.283 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/1.274, allocations: 4.641 kB / 1.283 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.273e-05/1.274, allocations: 7.188 kB / 1.283 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/1.274, allocations: 1.891 kB / 1.283 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/1.274, allocations: 5.125 kB / 1.283 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/1.274, allocations: 0 / 1.283 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/1.274, allocations: 1.125 kB / 1.283 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/1.274, allocations: 77.22 kB / 1.283 GB, free: 8.129 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/1.274, allocations: 94.23 kB / 1.283 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/1.274, allocations: 1.656 kB / 1.283 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.235e-05/1.274, allocations: 5.156 kB / 1.283 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.234e-05/1.274, allocations: 1.719 kB / 1.283 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/1.274, allocations: 1.891 kB / 1.283 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001271/1.274, allocations: 124.5 kB / 1.283 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.274, allocations: 3.938 kB / 1.283 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001965/1.275, allocations: 11.56 kB / 1.283 GB, free: 7.922 MB / 0.9981 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.000543/1.275, allocations: 0.6119 MB / 1.284 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001194/1.275, allocations: 19.03 kB / 1.284 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/1.275, allocations: 0.5 kB / 1.284 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.105e-05/1.275, allocations: 8.594 kB / 1.284 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001785/1.276, allocations: 3.094 kB / 1.284 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/1.277, allocations: 1.327 MB / 1.285 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/1.278, allocations: 0.6936 MB / 1.286 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.722e-05/1.278, allocations: 10.39 kB / 1.286 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.119e-05/1.278, allocations: 25.2 kB / 1.286 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of SimCode: time 3.2e-07/1.278, allocations: 5.438 kB / 1.286 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02001/1.298, allocations: 1.625 MB / 1.287 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.516/9.813, allocations: 20.5 kB / 1.287 GB, free: 4.938 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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: 16.383925491012633]