Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.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.0007659/0.0007659, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008208/0.0008208, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8995/0.8995, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.728/1.728, allocations: 377.8 MB / 0.6221 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_psi,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.981 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.958e-05/2.132e-05, allocations: 5.094 kB / 0.981 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001448/0.001469, allocations: 0.8023 MB / 0.9818 GB, free: 1.773 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 9.695e-05/0.001566, allocations: 39.78 kB / 0.9818 GB, free: 1.734 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.835e-05/0.001635, allocations: 0 / 0.9818 GB, free: 1.734 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.556e-05/0.00167, allocations: 11.88 kB / 0.9818 GB, free: 1.723 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.012e-05/0.00174, allocations: 11.92 kB / 0.9818 GB, free: 1.711 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 3.666e-05/0.001777, allocations: 23.97 kB / 0.9818 GB, free: 1.688 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.715e-05/0.001864, allocations: 59.78 kB / 0.9819 GB, free: 1.629 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.001972, allocations: 27.98 kB / 0.9819 GB, free: 1.602 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.432e-05/0.002047, allocations: 39.89 kB / 0.982 GB, free: 1.562 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.532e-05/0.002082, allocations: 23.84 kB / 0.982 GB, free: 1.539 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.002103, allocations: 8 kB / 0.982 GB, free: 1.531 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 5.77e-06/0.002109, allocations: 4 kB / 0.982 GB, free: 1.527 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.738e-05/0.002126, allocations: 11.94 kB / 0.982 GB, free: 1.516 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.465e-05/0.002151, allocations: 27.91 kB / 0.982 GB, free: 1.488 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 8.773e-05/0.002238, allocations: 67.7 kB / 0.9821 GB, free: 1.422 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.002241, allocations: 7.984 kB / 0.9821 GB, free: 1.414 MB / 0.9323 GB Notification: Performance of FrontEnd: time 9.52e-07/0.002242, allocations: 3.938 kB / 0.9821 GB, free: 1.41 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.002245, allocations: 4 kB / 0.9821 GB, free: 1.406 MB / 0.9323 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.0003202/0.002565, allocations: 294 kB / 0.9824 GB, free: 1.086 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.002603, allocations: 12.03 kB / 0.9824 GB, free: 1.074 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.399e-05/0.002637, allocations: 38.73 kB / 0.9824 GB, free: 1.027 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.379e-05/0.002661, allocations: 16.84 kB / 0.9825 GB, free: 1.012 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.002798, allocations: 133.6 kB / 0.9826 GB, free: 0.8555 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.002808, allocations: 4.375 kB / 0.9826 GB, free: 0.8516 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.002818, allocations: 8.375 kB / 0.9826 GB, free: 0.8438 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.002937, allocations: 99.95 kB / 0.9827 GB, free: 0.7344 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.002944, allocations: 192 / 0.9827 GB, free: 0.7344 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.002953, allocations: 384 / 0.9827 GB, free: 0.7344 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.002958, allocations: 8.125 kB / 0.9827 GB, free: 0.7266 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.368e-05/0.003012, allocations: 35.92 kB / 0.9827 GB, free: 0.6914 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003634/0.003375, allocations: 391.8 kB / 0.9831 GB, free: 268 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 4.504e-05/0.00342, allocations: 41.28 kB / 0.9831 GB, free: 208 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.689e-05/0.003447, allocations: 17.84 kB / 0.9832 GB, free: 184 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 6.242e-06/0.003454, allocations: 4 kB / 0.9832 GB, free: 180 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.666e-05/0.00347, allocations: 38.5 kB / 0.9832 GB, free: 132 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.003471, allocations: 0 / 0.9832 GB, free: 132 kB / 0.9323 GB Notification: Performance of matching and sorting (n=2): time 0.0001296/0.003601, allocations: 57.58 kB / 0.9833 GB, free: 68 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.003647, allocations: 84.98 kB / 0.9833 GB, free: 15.96 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.003749, allocations: 160.3 kB / 0.9835 GB, free: 15.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.867e-06/0.003758, allocations: 25.7 kB / 0.9835 GB, free: 15.77 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.852e-05/0.003806, allocations: 104 kB / 0.9836 GB, free: 15.66 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.304e-06/0.003814, allocations: 11.89 kB / 0.9836 GB, free: 15.65 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.325e-05/0.003837, allocations: 13.97 kB / 0.9836 GB, free: 15.63 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.181e-05/0.003909, allocations: 326.8 kB / 0.984 GB, free: 15.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.151e-05/0.00392, allocations: 4 kB / 0.984 GB, free: 15.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.846e-05/0.003939, allocations: 21.7 kB / 0.984 GB, free: 15.27 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.053e-05/0.003969, allocations: 29.7 kB / 0.984 GB, free: 15.24 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.003971, allocations: 0 / 0.984 GB, free: 15.24 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.32e-05/0.004024, allocations: 61.53 kB / 0.9841 GB, free: 15.17 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.004037, allocations: 4 kB / 0.9841 GB, free: 15.17 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.004041, allocations: 0 / 0.9841 GB, free: 15.17 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.004052, allocations: 8.062 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.893e-05/0.004101, allocations: 7.938 kB / 0.9841 GB, free: 15.15 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.004106, allocations: 3.984 kB / 0.9841 GB, free: 15.15 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.66e-05/0.004123, allocations: 4 kB / 0.9841 GB, free: 15.14 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-06/0.004126, allocations: 0 / 0.9841 GB, free: 15.14 MB / 0.948 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 5.343e-05/0.004179, allocations: 117.8 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.118e-05/0.004201, allocations: 11.91 kB / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.679e-05/0.004217, allocations: 11.81 kB / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.004219, allocations: 0 / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.004224, allocations: 3.938 kB / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.004228, allocations: 11.98 kB / 0.9842 GB, free: 14.98 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002381/0.004466, allocations: 429.9 kB / 0.9847 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.004467, allocations: 0 / 0.9847 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.337e-06/0.004476, allocations: 7.938 kB / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.004477, allocations: 0 / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.238e-06/0.004482, allocations: 0 / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.92e-07/0.004482, allocations: 0 / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.004483, allocations: 0 / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.888e-05/0.004532, allocations: 77.94 kB / 0.9847 GB, free: 14.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.909e-05/0.004551, allocations: 19.98 kB / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.396e-06/0.004559, allocations: 3.938 kB / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.066e-05/0.00457, allocations: 4 kB / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.084e-05/0.004581, allocations: 4 kB / 0.9848 GB, free: 14.37 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-06/0.004582, allocations: 0 / 0.9848 GB, free: 14.37 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.601e-05/0.004638, allocations: 122.1 kB / 0.9849 GB, free: 14.25 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.004638, allocations: 3.938 kB / 0.9849 GB, free: 14.25 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00012/0.004758, allocations: 11.94 kB / 0.9849 GB, free: 14.24 MB / 0.948 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.0002122/0.00497, allocations: 0.6132 MB / 0.9855 GB, free: 13.59 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.933e-05/0.005039, allocations: 27.95 kB / 0.9855 GB, free: 13.56 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.005041, allocations: 0 / 0.9855 GB, free: 13.56 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.991e-06/0.005047, allocations: 4 kB / 0.9855 GB, free: 13.56 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001126/0.00516, allocations: 10.88 kB / 0.9855 GB, free: 13.55 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008046/0.005964, allocations: 1.343 MB / 0.9868 GB, free: 12.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.294e-05/0.006007, allocations: 79.58 kB / 0.9869 GB, free: 12 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.553e-05/0.006033, allocations: 8.484 kB / 0.9869 GB, free: 12 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.885e-05/0.006071, allocations: 24.48 kB / 0.987 GB, free: 11.97 MB / 0.948 GB Notification: Performance of SimCode: time 4.21e-07/0.006072, allocations: 0 / 0.987 GB, free: 11.97 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0135/0.01957, allocations: 2.229 MB / 0.9891 GB, free: 9.887 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.687/6.706, allocations: 7.188 kB / 0.9891 GB, free: 9.887 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_psi_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_psi.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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: 10.726188455708325]