Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.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.001635/0.001635, allocations: 120 kB / 17.17 MB, free: 5.977 MB / 14.72 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.001885/0.001885, allocations: 214.3 kB / 20.13 MB, free: 3.035 MB / 14.72 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 1.574/1.574, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.983/2.983, allocations: 0.49 GB / 0.7923 GB, free: 1.438 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.From_cfm,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002765/0.002765, allocations: 63.91 kB / 1.15 GB, free: 14.51 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.01/1.013, allocations: 176.1 MB / 1.321 GB, free: 7.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.002396/1.016, allocations: 0.84 MB / 1.322 GB, free: 6.844 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001377/1.016, allocations: 44.88 kB / 1.322 GB, free: 6.805 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.328e-05/1.016, allocations: 1.406 kB / 1.322 GB, free: 6.805 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.647e-05/1.016, allocations: 7.875 kB / 1.322 GB, free: 6.797 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.755e-05/1.016, allocations: 13.17 kB / 1.322 GB, free: 6.785 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.618e-05/1.016, allocations: 19.05 kB / 1.322 GB, free: 6.77 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001438/1.016, allocations: 59.22 kB / 1.322 GB, free: 6.734 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/1.016, allocations: 26.86 kB / 1.322 GB, free: 6.719 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.937e-05/1.016, allocations: 36.05 kB / 1.323 GB, free: 6.691 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.193e-05/1.016, allocations: 27.84 kB / 1.323 GB, free: 6.668 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/1.016, allocations: 10.22 kB / 1.323 GB, free: 6.664 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.253e-05/1.016, allocations: 6.25 kB / 1.323 GB, free: 6.664 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.291e-05/1.016, allocations: 14.05 kB / 1.323 GB, free: 6.652 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.429e-05/1.017, allocations: 38.83 kB / 1.323 GB, free: 6.621 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001399/1.017, allocations: 66.92 kB / 1.323 GB, free: 6.57 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/1.017, allocations: 1.25 kB / 1.323 GB, free: 6.57 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.743e-06/1.017, allocations: 0 / 1.323 GB, free: 6.57 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.52e-06/1.017, allocations: 3.938 kB / 1.323 GB, free: 6.566 MB / 1.014 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.0005288/1.017, allocations: 390.8 kB / 1.323 GB, free: 6.156 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/1.017, allocations: 12.95 kB / 1.323 GB, free: 6.152 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.83e-05/1.017, allocations: 2.469 kB / 1.323 GB, free: 6.152 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.875e-05/1.017, allocations: 37.03 kB / 1.323 GB, free: 6.109 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.047e-05/1.017, allocations: 9.984 kB / 1.323 GB, free: 6.105 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/1.018, allocations: 198.3 kB / 1.323 GB, free: 5.883 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/1.018, allocations: 7.719 kB / 1.323 GB, free: 5.879 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/1.018, allocations: 4.594 kB / 1.323 GB, free: 5.879 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/1.018, allocations: 106.2 kB / 1.323 GB, free: 5.789 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/1.018, allocations: 0 / 1.323 GB, free: 5.789 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/1.018, allocations: 1.281 kB / 1.323 GB, free: 5.789 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/1.018, allocations: 1.094 kB / 1.323 GB, free: 5.789 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001375/1.018, allocations: 40.77 kB / 1.323 GB, free: 5.77 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005857/1.019, allocations: 436.6 kB / 1.324 GB, free: 5.332 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 7.929e-05/1.019, allocations: 45.03 kB / 1.324 GB, free: 5.273 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.266e-05/1.019, allocations: 19.56 kB / 1.324 GB, free: 5.254 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-06/1.019, allocations: 0 / 1.324 GB, free: 5.254 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/1.019, allocations: 39.59 kB / 1.324 GB, free: 5.207 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/1.019, allocations: 3.938 kB / 1.324 GB, free: 5.203 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0002069/1.019, allocations: 63.34 kB / 1.324 GB, free: 5.148 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.382e-05/1.019, allocations: 77.11 kB / 1.324 GB, free: 5.055 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/1.019, allocations: 161.9 kB / 1.324 GB, free: 4.922 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/1.019, allocations: 26.83 kB / 1.324 GB, free: 4.891 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.483e-05/1.019, allocations: 96.41 kB / 1.324 GB, free: 4.797 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.249e-05/1.019, allocations: 8.875 kB / 1.324 GB, free: 4.789 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.611e-05/1.019, allocations: 21.75 kB / 1.324 GB, free: 4.766 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001701/1.019, allocations: 320.2 kB / 1.325 GB, free: 4.445 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.554e-05/1.02, allocations: 4.312 kB / 1.325 GB, free: 4.445 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.869e-05/1.02, allocations: 22.73 kB / 1.325 GB, free: 4.422 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.691e-05/1.02, allocations: 29.41 kB / 1.325 GB, free: 4.395 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.02, allocations: 1.219 kB / 1.325 GB, free: 4.395 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001006/1.02, allocations: 62.52 kB / 1.325 GB, free: 4.344 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/1.02, allocations: 9.906 kB / 1.325 GB, free: 4.34 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/1.02, allocations: 0 / 1.325 GB, free: 4.34 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/1.02, allocations: 1.094 kB / 1.325 GB, free: 4.34 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.08e-05/1.02, allocations: 5.625 kB / 1.325 GB, free: 4.34 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/1.02, allocations: 1.375 kB / 1.325 GB, free: 4.34 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.489e-05/1.02, allocations: 9.297 kB / 1.325 GB, free: 4.332 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/1.02, allocations: 1.406 kB / 1.325 GB, free: 4.332 MB / 1.014 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 9.261e-05/1.02, allocations: 122 kB / 1.325 GB, free: 4.207 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.761e-05/1.02, allocations: 11.52 kB / 1.325 GB, free: 4.199 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.89e-05/1.02, allocations: 11.22 kB / 1.325 GB, free: 4.188 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/1.02, allocations: 0 / 1.325 GB, free: 4.188 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/1.02, allocations: 1.156 kB / 1.325 GB, free: 4.188 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/1.02, allocations: 1.219 kB / 1.325 GB, free: 4.188 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004584/1.02, allocations: 474.2 kB / 1.325 GB, free: 3.684 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/1.02, allocations: 4.062 kB / 1.325 GB, free: 3.68 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.15e-05/1.02, allocations: 7.109 kB / 1.325 GB, free: 3.676 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/1.02, allocations: 1.219 kB / 1.325 GB, free: 3.676 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/1.02, allocations: 1.094 kB / 1.325 GB, free: 3.676 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/1.02, allocations: 0 / 1.325 GB, free: 3.676 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.021, allocations: 1.062 kB / 1.325 GB, free: 3.676 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/1.021, allocations: 86.62 kB / 1.326 GB, free: 3.582 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.435e-05/1.021, allocations: 92.3 kB / 1.326 GB, free: 3.477 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/1.021, allocations: 4.969 kB / 1.326 GB, free: 3.473 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.027e-05/1.021, allocations: 0 / 1.326 GB, free: 3.473 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.304e-05/1.021, allocations: 1.156 kB / 1.326 GB, free: 3.473 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/1.021, allocations: 2.188 kB / 1.326 GB, free: 3.473 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001118/1.021, allocations: 120.9 kB / 1.326 GB, free: 3.379 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/1.021, allocations: 0 / 1.326 GB, free: 3.379 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001883/1.021, allocations: 11.34 kB / 1.326 GB, free: 3.375 MB / 1.014 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.0005168/1.022, allocations: 0.6188 MB / 1.326 GB, free: 2.754 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001004/1.022, allocations: 19.14 kB / 1.326 GB, free: 2.746 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.022, allocations: 0 / 1.326 GB, free: 2.746 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.096e-05/1.022, allocations: 11.34 kB / 1.326 GB, free: 2.738 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001567/1.022, allocations: 9.375 kB / 1.326 GB, free: 2.734 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/1.023, allocations: 1.337 MB / 1.328 GB, free: 1.469 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/1.024, allocations: 0.6946 MB / 1.328 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.173e-05/1.024, allocations: 8.609 kB / 1.328 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.227e-05/1.024, allocations: 22.34 kB / 1.328 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of SimCode: time 3.1e-07/1.024, allocations: 1.125 kB / 1.328 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02114/1.045, allocations: 1.626 MB / 1.33 GB, free: 15.88 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.645/9.69, allocations: 18.98 kB / 1.33 GB, free: 15.87 MB / 1.029 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 16.249560938973445]