Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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.001585/0.001585, allocations: 108.9 kB / 16.45 MB, free: 6.504 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.002004/0.002004, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.46/1.46, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.594/2.594, allocations: 443.5 MB / 0.7287 GB, free: 13.22 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_bar,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 72.14 kB / 1.056 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.008/1.01, allocations: 160.7 MB / 1.213 GB, free: 3.848 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.003091/1.013, allocations: 0.8365 MB / 1.214 GB, free: 3.211 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001567/1.013, allocations: 40.97 kB / 1.214 GB, free: 3.176 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.786e-05/1.013, allocations: 2.031 kB / 1.214 GB, free: 3.176 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.006e-05/1.013, allocations: 7.875 kB / 1.214 GB, free: 3.168 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001084/1.013, allocations: 16.95 kB / 1.214 GB, free: 3.152 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 6.997e-05/1.014, allocations: 19.23 kB / 1.214 GB, free: 3.137 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001969/1.014, allocations: 62.91 kB / 1.214 GB, free: 3.098 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001824/1.014, allocations: 30.66 kB / 1.214 GB, free: 3.078 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.581e-05/1.014, allocations: 23.17 kB / 1.214 GB, free: 3.062 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/1.014, allocations: 33.25 kB / 1.214 GB, free: 3.035 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.755e-05/1.014, allocations: 5.562 kB / 1.214 GB, free: 3.035 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.734e-05/1.014, allocations: 6.094 kB / 1.214 GB, free: 3.035 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.325e-05/1.014, allocations: 19.17 kB / 1.214 GB, free: 3.02 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.681e-05/1.014, allocations: 30.5 kB / 1.214 GB, free: 2.996 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001736/1.014, allocations: 79.31 kB / 1.214 GB, free: 2.934 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/1.014, allocations: 0 / 1.214 GB, free: 2.934 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.395e-06/1.014, allocations: 5.031 kB / 1.214 GB, free: 2.93 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.883e-06/1.014, allocations: 0 / 1.214 GB, free: 2.93 MB / 0.92 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.0006472/1.015, allocations: 382.4 kB / 1.214 GB, free: 2.527 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/1.015, allocations: 10.44 kB / 1.214 GB, free: 2.527 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.791e-05/1.015, allocations: 40.89 kB / 1.215 GB, free: 2.48 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.584e-05/1.015, allocations: 17.47 kB / 1.215 GB, free: 2.469 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000411/1.016, allocations: 202.2 kB / 1.215 GB, free: 2.242 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/1.016, allocations: 8.219 kB / 1.215 GB, free: 2.238 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/1.016, allocations: 12.73 kB / 1.215 GB, free: 2.23 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002183/1.016, allocations: 89.83 kB / 1.215 GB, free: 2.156 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/1.016, allocations: 3.938 kB / 1.215 GB, free: 2.152 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/1.016, allocations: 1.312 kB / 1.215 GB, free: 2.152 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/1.016, allocations: 1.312 kB / 1.215 GB, free: 2.152 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/1.016, allocations: 40.52 kB / 1.215 GB, free: 2.133 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008129/1.017, allocations: 432.6 kB / 1.215 GB, free: 1.699 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.939e-05/1.017, allocations: 44.66 kB / 1.215 GB, free: 1.641 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/1.017, allocations: 18.77 kB / 1.215 GB, free: 1.621 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-06/1.017, allocations: 1.094 kB / 1.215 GB, free: 1.621 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/1.017, allocations: 39.69 kB / 1.215 GB, free: 1.574 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/1.017, allocations: 0 / 1.215 GB, free: 1.574 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.000244/1.017, allocations: 54.97 kB / 1.215 GB, free: 1.527 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.653e-05/1.017, allocations: 78.17 kB / 1.216 GB, free: 1.434 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/1.018, allocations: 159.9 kB / 1.216 GB, free: 1.305 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/1.018, allocations: 26.73 kB / 1.216 GB, free: 1.273 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.161e-05/1.018, allocations: 104.6 kB / 1.216 GB, free: 1.172 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.196e-05/1.018, allocations: 4.953 kB / 1.216 GB, free: 1.168 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-05/1.018, allocations: 20.86 kB / 1.216 GB, free: 1.145 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001662/1.018, allocations: 322 kB / 1.216 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.888e-05/1.018, allocations: 2.969 kB / 1.216 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.081e-05/1.018, allocations: 21.98 kB / 1.216 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.904e-05/1.018, allocations: 30.41 kB / 1.216 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/1.018, allocations: 1.094 kB / 1.216 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000111/1.018, allocations: 63.09 kB / 1.216 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/1.018, allocations: 9.062 kB / 1.216 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/1.018, allocations: 0.75 kB / 1.216 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/1.018, allocations: 0.9375 kB / 1.216 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.681e-05/1.018, allocations: 5.531 kB / 1.216 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/1.018, allocations: 1.125 kB / 1.216 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.718e-05/1.018, allocations: 10.12 kB / 1.216 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/1.018, allocations: 9.141 kB / 1.216 GB, free: 0.7031 MB / 0.92 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.0001188/1.019, allocations: 117.1 kB / 1.216 GB, free: 0.582 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.485e-05/1.019, allocations: 12.61 kB / 1.216 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.378e-05/1.019, allocations: 14.02 kB / 1.216 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/1.019, allocations: 1.125 kB / 1.216 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/1.019, allocations: 5 kB / 1.216 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/1.019, allocations: 0 / 1.216 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006592/1.019, allocations: 478.3 kB / 1.217 GB, free: 44 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/1.019, allocations: 1.125 kB / 1.217 GB, free: 44 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.964e-05/1.019, allocations: 7.219 kB / 1.217 GB, free: 40 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/1.019, allocations: 1.062 kB / 1.217 GB, free: 40 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/1.019, allocations: 0 / 1.217 GB, free: 40 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/1.019, allocations: 1.094 kB / 1.217 GB, free: 40 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/1.019, allocations: 9.172 kB / 1.217 GB, free: 32 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001628/1.02, allocations: 78.27 kB / 1.217 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.22e-05/1.02, allocations: 88.11 kB / 1.217 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/1.02, allocations: 5.156 kB / 1.217 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.529e-05/1.02, allocations: 1.062 kB / 1.217 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.619e-05/1.02, allocations: 0.9688 kB / 1.217 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/1.02, allocations: 1.281 kB / 1.217 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001475/1.02, allocations: 125.5 kB / 1.217 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/1.02, allocations: 4.031 kB / 1.217 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003283/1.02, allocations: 6.938 kB / 1.217 GB, free: 15.74 MB / 0.9356 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.0008386/1.021, allocations: 0.6123 MB / 1.218 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001392/1.021, allocations: 22.03 kB / 1.218 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.021, allocations: 0 / 1.218 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.656e-05/1.021, allocations: 4.375 kB / 1.218 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/1.021, allocations: 18.55 kB / 1.218 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001996/1.023, allocations: 1.336 MB / 1.219 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004476/1.024, allocations: 0.6955 MB / 1.22 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.792e-05/1.024, allocations: 8.766 kB / 1.22 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.081e-05/1.024, allocations: 22.69 kB / 1.22 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of SimCode: time 1.163e-06/1.024, allocations: 0 / 1.22 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02559/1.05, allocations: 1.583 MB / 1.221 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.137/9.186, allocations: 18.17 kB / 1.221 GB, free: 12.25 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_bar_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_bar.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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.131351714022458]