Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.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.001513/0.001513, allocations: 105.8 kB / 17.54 MB, free: 4.781 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.001422/0.001422, allocations: 189.9 kB / 20.71 MB, free: 1.625 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.301/1.301, allocations: 225.6 MB / 249.3 MB, free: 3.199 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.475/2.475, allocations: 476.7 MB / 0.7628 GB, free: 15.3 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_psi,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 67.89 kB / 1.107 GB, free: 5.156 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7563/0.758, allocations: 168.7 MB / 1.271 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.001816/0.7599, allocations: 0.8432 MB / 1.272 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 9.469e-05/0.76, allocations: 37.53 kB / 1.272 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.894e-05/0.76, allocations: 1.5 kB / 1.272 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.719e-05/0.76, allocations: 10.36 kB / 1.272 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.181e-05/0.7601, allocations: 9.188 kB / 1.272 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.535e-05/0.7602, allocations: 25.88 kB / 1.272 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.7603, allocations: 58.05 kB / 1.272 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.7604, allocations: 39.25 kB / 1.272 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.356e-05/0.7605, allocations: 30.08 kB / 1.272 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.969e-05/0.7605, allocations: 26.53 kB / 1.272 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.7605, allocations: 5.969 kB / 1.272 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.536e-05/0.7605, allocations: 6.25 kB / 1.272 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.858e-05/0.7606, allocations: 12.88 kB / 1.272 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.463e-05/0.7606, allocations: 31.89 kB / 1.272 GB, free: 7 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.7607, allocations: 80.77 kB / 1.273 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.7607, allocations: 1.547 kB / 1.273 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7607, allocations: 4 kB / 1.273 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.7607, allocations: 0 / 1.273 GB, free: 6.957 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.000335/0.7611, allocations: 377.1 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.7611, allocations: 13.06 kB / 1.273 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.525e-05/0.7612, allocations: 38.72 kB / 1.273 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.655e-05/0.7612, allocations: 14.3 kB / 1.273 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.7613, allocations: 192.3 kB / 1.273 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.7613, allocations: 15.92 kB / 1.273 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.7614, allocations: 9.719 kB / 1.273 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.7615, allocations: 92.34 kB / 1.273 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.7615, allocations: 3.938 kB / 1.273 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.7615, allocations: 5.562 kB / 1.273 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.7615, allocations: 2.438 kB / 1.273 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.659e-05/0.7616, allocations: 39.64 kB / 1.273 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004201/0.762, allocations: 441.7 kB / 1.274 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.127e-05/0.7621, allocations: 41.69 kB / 1.274 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.011e-05/0.7621, allocations: 20.02 kB / 1.274 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.085e-06/0.7621, allocations: 1.344 kB / 1.274 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.7621, allocations: 36.08 kB / 1.274 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.7621, allocations: 0.8438 kB / 1.274 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001499/0.7623, allocations: 56.72 kB / 1.274 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.7623, allocations: 78.5 kB / 1.274 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.7624, allocations: 158.8 kB / 1.274 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.992e-06/0.7624, allocations: 26.48 kB / 1.274 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.124e-05/0.7625, allocations: 103.7 kB / 1.274 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.498e-06/0.7625, allocations: 15.61 kB / 1.274 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.513e-05/0.7625, allocations: 14 kB / 1.274 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.191e-05/0.7625, allocations: 320.1 kB / 1.275 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.571e-05/0.7626, allocations: 7.531 kB / 1.275 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.924e-05/0.7626, allocations: 18.5 kB / 1.275 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.401e-05/0.7626, allocations: 27.31 kB / 1.275 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.7626, allocations: 4.938 kB / 1.275 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.226e-05/0.7627, allocations: 56.7 kB / 1.275 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.7627, allocations: 9.312 kB / 1.275 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.7627, allocations: 1.828 kB / 1.275 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.7627, allocations: 4.625 kB / 1.275 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.693e-05/0.7628, allocations: 7.469 kB / 1.275 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.7628, allocations: 0.9688 kB / 1.275 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.845e-05/0.7628, allocations: 9.844 kB / 1.275 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.7628, allocations: 1.781 kB / 1.275 GB, free: 4.828 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 4.933e-05/0.7629, allocations: 117.1 kB / 1.275 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.132e-05/0.7629, allocations: 16.44 kB / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.269e-05/0.7629, allocations: 12.11 kB / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.7629, allocations: 3.281 kB / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.7629, allocations: 1.031 kB / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.7629, allocations: 1.031 kB / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002473/0.7632, allocations: 474 kB / 1.275 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.7632, allocations: 0 / 1.275 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.723e-05/0.7632, allocations: 3.281 kB / 1.275 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.7632, allocations: 0.9375 kB / 1.275 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.7632, allocations: 4.938 kB / 1.275 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.7632, allocations: 3.031 kB / 1.275 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.7632, allocations: 0 / 1.275 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.423e-05/0.7633, allocations: 81.81 kB / 1.275 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.615e-05/0.7633, allocations: 92.47 kB / 1.276 GB, free: 4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.7633, allocations: 1.625 kB / 1.276 GB, free: 4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.863e-05/0.7633, allocations: 0.75 kB / 1.276 GB, free: 4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.049e-05/0.7633, allocations: 1.734 kB / 1.276 GB, free: 4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.7633, allocations: 1.562 kB / 1.276 GB, free: 4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.267e-05/0.7634, allocations: 119.9 kB / 1.276 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.7634, allocations: 1.094 kB / 1.276 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001721/0.7636, allocations: 6.5 kB / 1.276 GB, free: 3.914 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.0002318/0.7638, allocations: 0.6217 MB / 1.276 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.198e-05/0.7639, allocations: 18.59 kB / 1.276 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.7639, allocations: 4.156 kB / 1.276 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.012e-05/0.7639, allocations: 7.875 kB / 1.276 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001428/0.764, allocations: 11.02 kB / 1.276 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009326/0.765, allocations: 1.334 MB / 1.278 GB, free: 18.05 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.7653, allocations: 0.6963 MB / 1.278 GB, free: 17.35 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.831e-05/0.7653, allocations: 7.203 kB / 1.278 GB, free: 17.35 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/0.7654, allocations: 29.56 kB / 1.278 GB, free: 17.33 MB / 1.014 GB Notification: Performance of SimCode: time 2.81e-07/0.7654, allocations: 0 / 1.278 GB, free: 17.33 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02193/0.7873, allocations: 1.557 MB / 1.28 GB, free: 16.95 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.989/7.777, allocations: 16.28 kB / 1.28 GB, free: 16.95 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_psi_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_psi.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.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: 13.029446532999827]