Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.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.001499/0.001499, allocations: 108.2 kB / 16.46 MB, free: 6.035 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.001375/0.001375, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.538/1.538, allocations: 225.6 MB / 247.8 MB, free: 13.94 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.648/2.648, allocations: 443.5 MB / 0.7287 GB, free: 13.27 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_cfm,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002297/0.002297, allocations: 71.83 kB / 1.056 GB, free: 5.871 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9724/0.9747, allocations: 160.7 MB / 1.213 GB, free: 3.824 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.002705/0.9775, allocations: 0.8349 MB / 1.214 GB, free: 3.188 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.000191/0.9776, allocations: 41.12 kB / 1.214 GB, free: 3.152 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.506e-05/0.9777, allocations: 1.031 kB / 1.214 GB, free: 3.152 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.897e-05/0.9778, allocations: 7.875 kB / 1.214 GB, free: 3.145 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.9779, allocations: 16.89 kB / 1.214 GB, free: 3.129 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 6.477e-05/0.978, allocations: 16.14 kB / 1.214 GB, free: 3.117 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.9781, allocations: 70.59 kB / 1.214 GB, free: 3.07 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.9783, allocations: 29.81 kB / 1.214 GB, free: 3.051 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.05e-05/0.9784, allocations: 31.86 kB / 1.214 GB, free: 3.027 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.294e-05/0.9784, allocations: 28.28 kB / 1.214 GB, free: 3.004 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.602e-05/0.9785, allocations: 6.531 kB / 1.214 GB, free: 3.004 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.265e-05/0.9785, allocations: 5.469 kB / 1.214 GB, free: 3.004 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.132e-05/0.9785, allocations: 14.16 kB / 1.214 GB, free: 2.992 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.585e-05/0.9786, allocations: 34.88 kB / 1.214 GB, free: 2.965 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.9787, allocations: 75.36 kB / 1.214 GB, free: 2.906 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.9788, allocations: 0 / 1.214 GB, free: 2.906 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.994e-06/0.9788, allocations: 5.062 kB / 1.214 GB, free: 2.902 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.929e-06/0.9788, allocations: 4 kB / 1.214 GB, free: 2.898 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.0005807/0.9793, allocations: 381.8 kB / 1.214 GB, free: 2.496 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.9794, allocations: 10.69 kB / 1.214 GB, free: 2.496 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.462e-05/0.9794, allocations: 36.91 kB / 1.215 GB, free: 2.453 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.95e-05/0.9795, allocations: 13.28 kB / 1.215 GB, free: 2.445 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.9798, allocations: 206.4 kB / 1.215 GB, free: 2.215 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.9798, allocations: 3.781 kB / 1.215 GB, free: 2.215 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.9798, allocations: 9.906 kB / 1.215 GB, free: 2.211 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.98, allocations: 93.33 kB / 1.215 GB, free: 2.133 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.98, allocations: 7.938 kB / 1.215 GB, free: 2.125 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.98, allocations: 5.094 kB / 1.215 GB, free: 2.121 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.98, allocations: 2.031 kB / 1.215 GB, free: 2.121 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.9801, allocations: 39.89 kB / 1.215 GB, free: 2.102 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006628/0.9808, allocations: 436.5 kB / 1.215 GB, free: 1.664 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.343e-05/0.9809, allocations: 40.47 kB / 1.215 GB, free: 1.609 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.281e-05/0.9809, allocations: 19.41 kB / 1.215 GB, free: 1.59 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.9809, allocations: 4.703 kB / 1.215 GB, free: 1.586 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.177e-05/0.981, allocations: 36.06 kB / 1.215 GB, free: 1.543 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.981, allocations: 0 / 1.215 GB, free: 1.543 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001982/0.9812, allocations: 62.58 kB / 1.215 GB, free: 1.488 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.521e-05/0.9812, allocations: 77.86 kB / 1.216 GB, free: 1.395 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.9814, allocations: 156.6 kB / 1.216 GB, free: 1.27 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.9814, allocations: 26.67 kB / 1.216 GB, free: 1.238 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.898e-05/0.9815, allocations: 100.5 kB / 1.216 GB, free: 1.141 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.336e-05/0.9815, allocations: 9.344 kB / 1.216 GB, free: 1.133 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/0.9815, allocations: 21.03 kB / 1.216 GB, free: 1.109 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.9817, allocations: 321.1 kB / 1.216 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.978e-05/0.9817, allocations: 3.25 kB / 1.216 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.591e-05/0.9817, allocations: 22.34 kB / 1.216 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.521e-05/0.9818, allocations: 26.38 kB / 1.216 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.9818, allocations: 4.75 kB / 1.216 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001061/0.9819, allocations: 70.81 kB / 1.216 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.9819, allocations: 9.125 kB / 1.216 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.9819, allocations: 1.062 kB / 1.216 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.9819, allocations: 1.094 kB / 1.216 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.172e-05/0.982, allocations: 5.031 kB / 1.216 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.982, allocations: 0.75 kB / 1.216 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.701e-05/0.982, allocations: 6 kB / 1.216 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.9821, allocations: 2.219 kB / 1.216 GB, free: 0.6719 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.0001111/0.9822, allocations: 121.5 kB / 1.216 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.874e-05/0.9822, allocations: 11.7 kB / 1.216 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.199e-05/0.9822, allocations: 10.22 kB / 1.216 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.9822, allocations: 0.75 kB / 1.216 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.9822, allocations: 0.8125 kB / 1.216 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.9823, allocations: 1.062 kB / 1.216 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004796/0.9827, allocations: 474.2 kB / 1.217 GB, free: 20 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.9827, allocations: 1.188 kB / 1.217 GB, free: 20 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.344e-05/0.9828, allocations: 6.828 kB / 1.217 GB, free: 16 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.9828, allocations: 1.062 kB / 1.217 GB, free: 16 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.9828, allocations: 0 / 1.217 GB, free: 16 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.9828, allocations: 1.125 kB / 1.217 GB, free: 16 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.9828, allocations: 5.125 kB / 1.217 GB, free: 12 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.9829, allocations: 81.67 kB / 1.217 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.899e-05/0.983, allocations: 88.48 kB / 1.217 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.983, allocations: 1.156 kB / 1.217 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.321e-05/0.983, allocations: 5.156 kB / 1.217 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.133e-05/0.983, allocations: 1.156 kB / 1.217 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.983, allocations: 1.156 kB / 1.217 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001053/0.9831, allocations: 123.1 kB / 1.217 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.9831, allocations: 0 / 1.217 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001895/0.9833, allocations: 6.844 kB / 1.217 GB, free: 15.72 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.0004552/0.9838, allocations: 0.6195 MB / 1.218 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.372e-05/0.9839, allocations: 22.39 kB / 1.218 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.9839, allocations: 160 / 1.218 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.207e-05/0.9839, allocations: 8.406 kB / 1.218 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.984, allocations: 11 kB / 1.218 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.9855, allocations: 1.345 MB / 1.219 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.9859, allocations: 0.6958 MB / 1.22 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.562e-05/0.9859, allocations: 8.859 kB / 1.22 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.765e-05/0.9859, allocations: 22.62 kB / 1.22 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of SimCode: time 3.8e-07/0.9859, allocations: 0 / 1.22 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02748/1.013, allocations: 1.589 MB / 1.221 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.044/9.058, allocations: 5.766 kB / 1.221 GB, free: 12.22 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.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.030207789037377]