Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001255/0.001255, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.001387/0.001387, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.8954/0.8954, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.717/1.717, allocations: 377.9 MB / 0.6221 GB, free: 8.684 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_inH2O,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 0.981 GB, free: 2.594 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.105e-05/1.222e-05, allocations: 10.22 kB / 0.981 GB, free: 2.582 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.00117/0.001182, allocations: 0.7945 MB / 0.9818 GB, free: 1.789 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 9.156e-05/0.001274, allocations: 39.78 kB / 0.9818 GB, free: 1.75 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.07e-05/0.001314, allocations: 4 kB / 0.9818 GB, free: 1.746 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.936e-05/0.001344, allocations: 7.875 kB / 0.9818 GB, free: 1.738 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.812e-05/0.001412, allocations: 11.92 kB / 0.9818 GB, free: 1.727 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 3.743e-05/0.001449, allocations: 15.98 kB / 0.9818 GB, free: 1.711 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.371e-05/0.001533, allocations: 67.72 kB / 0.9819 GB, free: 1.645 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.001636, allocations: 27.97 kB / 0.9819 GB, free: 1.617 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.198e-05/0.001708, allocations: 35.91 kB / 0.982 GB, free: 1.582 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.596e-05/0.001744, allocations: 31.89 kB / 0.982 GB, free: 1.551 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.001764, allocations: 4 kB / 0.982 GB, free: 1.547 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 8.146e-06/0.001772, allocations: 8 kB / 0.982 GB, free: 1.539 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.085e-05/0.001793, allocations: 7.938 kB / 0.982 GB, free: 1.531 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.531e-05/0.001818, allocations: 27.91 kB / 0.982 GB, free: 1.504 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.124e-05/0.001909, allocations: 75.64 kB / 0.9821 GB, free: 1.43 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.001911, allocations: 0 / 0.9821 GB, free: 1.43 MB / 0.9323 GB Notification: Performance of FrontEnd: time 6.52e-07/0.001912, allocations: 0 / 0.9821 GB, free: 1.43 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.001915, allocations: 0 / 0.9821 GB, free: 1.43 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.0002995/0.002215, allocations: 302 kB / 0.9824 GB, free: 1.102 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.002248, allocations: 12.03 kB / 0.9824 GB, free: 1.09 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.781e-05/0.002276, allocations: 38.75 kB / 0.9824 GB, free: 1.043 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.044e-05/0.002297, allocations: 12.84 kB / 0.9824 GB, free: 1.031 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.002433, allocations: 133.6 kB / 0.9826 GB, free: 0.875 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.002442, allocations: 8.375 kB / 0.9826 GB, free: 0.8672 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.928e-06/0.002452, allocations: 12.38 kB / 0.9826 GB, free: 0.8555 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.002559, allocations: 90.86 kB / 0.9827 GB, free: 0.7578 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.002567, allocations: 8.172 kB / 0.9827 GB, free: 0.75 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.002576, allocations: 4.375 kB / 0.9827 GB, free: 0.7461 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.002583, allocations: 12.06 kB / 0.9827 GB, free: 0.7344 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.496e-05/0.002638, allocations: 35.98 kB / 0.9827 GB, free: 0.6992 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003509/0.002989, allocations: 395.8 kB / 0.9831 GB, free: 272 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 4.231e-05/0.003031, allocations: 33.22 kB / 0.9832 GB, free: 220 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.429e-05/0.003055, allocations: 17.78 kB / 0.9832 GB, free: 196 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 7.324e-06/0.003063, allocations: 0 / 0.9832 GB, free: 196 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.003082, allocations: 38.59 kB / 0.9832 GB, free: 148 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.003082, allocations: 0 / 0.9832 GB, free: 148 kB / 0.9323 GB Notification: Performance of matching and sorting (n=2): time 0.0001235/0.003206, allocations: 57.58 kB / 0.9833 GB, free: 84 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.003248, allocations: 85.3 kB / 0.9833 GB, free: 15.98 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.674e-05/0.003345, allocations: 156.5 kB / 0.9835 GB, free: 15.82 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.674e-06/0.003353, allocations: 25.7 kB / 0.9835 GB, free: 15.79 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.953e-05/0.003402, allocations: 116 kB / 0.9836 GB, free: 15.67 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.814e-06/0.00341, allocations: 7.891 kB / 0.9836 GB, free: 15.66 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.663e-05/0.003437, allocations: 21.66 kB / 0.9837 GB, free: 15.64 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.003584, allocations: 318.8 kB / 0.984 GB, free: 15.32 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.259e-05/0.003597, allocations: 4 kB / 0.984 GB, free: 15.31 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.721e-05/0.003614, allocations: 21.72 kB / 0.984 GB, free: 15.29 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.21e-05/0.003646, allocations: 29.66 kB / 0.984 GB, free: 15.25 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.003648, allocations: 0 / 0.984 GB, free: 15.25 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.039e-05/0.003708, allocations: 57.64 kB / 0.9841 GB, free: 15.19 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.003721, allocations: 8 kB / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.003725, allocations: 0 / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.003736, allocations: 0 / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.758e-05/0.003783, allocations: 7.938 kB / 0.9841 GB, free: 15.17 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.00379, allocations: 7.938 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.604e-05/0.003806, allocations: 0 / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-06/0.00381, allocations: 4 kB / 0.9841 GB, free: 15.16 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.313e-05/0.003863, allocations: 121.9 kB / 0.9842 GB, free: 15.03 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.205e-05/0.003885, allocations: 11.91 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.606e-05/0.003902, allocations: 3.812 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.003904, allocations: 4 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.003909, allocations: 3.938 kB / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.003911, allocations: 0 / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/0.004152, allocations: 433.9 kB / 0.9846 GB, free: 14.53 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.004154, allocations: 3.984 kB / 0.9846 GB, free: 14.53 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.092e-05/0.004165, allocations: 7.938 kB / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.004166, allocations: 4.062 kB / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.004172, allocations: 0 / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.004174, allocations: 4 kB / 0.9847 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.004175, allocations: 3.938 kB / 0.9847 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.971e-05/0.004224, allocations: 73.89 kB / 0.9847 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.829e-05/0.004243, allocations: 15.88 kB / 0.9848 GB, free: 14.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.075e-05/0.004253, allocations: 4 kB / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.126e-05/0.004265, allocations: 8 kB / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.018e-05/0.004275, allocations: 0 / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-06/0.004276, allocations: 0 / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.491e-05/0.004331, allocations: 121.9 kB / 0.9849 GB, free: 14.27 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.004331, allocations: 4 kB / 0.9849 GB, free: 14.27 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001252/0.004456, allocations: 11.94 kB / 0.9849 GB, free: 14.25 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.0002205/0.004677, allocations: 0.6209 MB / 0.9855 GB, free: 13.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.443e-05/0.004741, allocations: 19.98 kB / 0.9855 GB, free: 13.58 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.004743, allocations: 0 / 0.9855 GB, free: 13.58 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.965e-06/0.004751, allocations: 7.938 kB / 0.9855 GB, free: 13.57 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001099/0.004861, allocations: 14.08 kB / 0.9855 GB, free: 13.56 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00079/0.005651, allocations: 1.336 MB / 0.9868 GB, free: 12.12 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.947e-05/0.00569, allocations: 75.33 kB / 0.9869 GB, free: 12.02 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.47e-05/0.005715, allocations: 12.56 kB / 0.9869 GB, free: 12.01 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.693e-05/0.005752, allocations: 24.48 kB / 0.987 GB, free: 11.99 MB / 0.948 GB Notification: Performance of SimCode: time 2.91e-07/0.005752, allocations: 0 / 0.987 GB, free: 11.99 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01321/0.01896, allocations: 2.23 MB / 0.9891 GB, free: 9.898 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.609/6.628, allocations: 9.609 kB / 0.9891 GB, free: 9.895 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.590486128814518]