Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001386/0.001386, allocations: 109 kB / 17.54 MB, free: 4.746 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.001369/0.001369, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.308/1.308, allocations: 225.6 MB / 249.3 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.491/2.491, allocations: 476.7 MB / 0.7628 GB, free: 15.19 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.To_cfm,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 75.88 kB / 1.107 GB, free: 5.176 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7696/0.7715, allocations: 168.7 MB / 1.271 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.001701/0.7732, allocations: 0.8432 MB / 1.272 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 9.289e-05/0.7733, allocations: 40.34 kB / 1.272 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.649e-05/0.7733, allocations: 2.219 kB / 1.272 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.393e-05/0.7733, allocations: 9.844 kB / 1.272 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.853e-05/0.7734, allocations: 13.83 kB / 1.272 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.264e-05/0.7735, allocations: 16.47 kB / 1.272 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.7736, allocations: 72.09 kB / 1.272 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.7737, allocations: 31.11 kB / 1.272 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.55e-05/0.7738, allocations: 26.28 kB / 1.272 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.325e-05/0.7738, allocations: 27.44 kB / 1.272 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.7738, allocations: 5.906 kB / 1.272 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.131e-05/0.7738, allocations: 10.12 kB / 1.272 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.814e-05/0.7738, allocations: 16 kB / 1.272 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.092e-05/0.7739, allocations: 28.89 kB / 1.273 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.774, allocations: 84.47 kB / 1.273 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.774, allocations: 0.6562 kB / 1.273 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.984e-06/0.774, allocations: 0 / 1.273 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.774, allocations: 0 / 1.273 GB, free: 6.973 MB / 0.9981 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.0003247/0.7743, allocations: 381.2 kB / 1.273 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.7743, allocations: 9.562 kB / 1.273 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.116e-05/0.7744, allocations: 39.02 kB / 1.273 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.395e-05/0.7744, allocations: 14.45 kB / 1.273 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.7745, allocations: 199.8 kB / 1.273 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.7746, allocations: 8.125 kB / 1.273 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.7746, allocations: 9 kB / 1.273 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.7747, allocations: 88.17 kB / 1.273 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.7747, allocations: 3.938 kB / 1.273 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.7747, allocations: 5.672 kB / 1.273 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.7747, allocations: 1.719 kB / 1.273 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.952e-05/0.7748, allocations: 35.28 kB / 1.273 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003997/0.7752, allocations: 442.3 kB / 1.274 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.946e-05/0.7752, allocations: 42.53 kB / 1.274 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.774e-05/0.7753, allocations: 19.64 kB / 1.274 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/0.7753, allocations: 4.688 kB / 1.274 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.484e-05/0.7753, allocations: 31.98 kB / 1.274 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.7753, allocations: 0.625 kB / 1.274 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001421/0.7754, allocations: 57.66 kB / 1.274 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.945e-05/0.7755, allocations: 77.92 kB / 1.274 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.7756, allocations: 158.8 kB / 1.274 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.12e-06/0.7756, allocations: 25.95 kB / 1.274 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.754e-05/0.7756, allocations: 111.8 kB / 1.274 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.683e-06/0.7756, allocations: 9.953 kB / 1.274 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-05/0.7756, allocations: 14.53 kB / 1.274 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.722e-05/0.7757, allocations: 319.9 kB / 1.275 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.7e-05/0.7757, allocations: 7.859 kB / 1.275 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.775e-05/0.7757, allocations: 19.52 kB / 1.275 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.294e-05/0.7758, allocations: 28.05 kB / 1.275 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.7758, allocations: 0 / 1.275 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.849e-05/0.7758, allocations: 57.05 kB / 1.275 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.7758, allocations: 12.03 kB / 1.275 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.7758, allocations: 4.938 kB / 1.275 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.7758, allocations: 4.625 kB / 1.275 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.474e-05/0.7759, allocations: 10.72 kB / 1.275 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.7759, allocations: 5.422 kB / 1.275 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.696e-05/0.7759, allocations: 9.844 kB / 1.275 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.7759, allocations: 6.375 kB / 1.275 GB, free: 4.836 MB / 0.9981 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 4.233e-05/0.776, allocations: 115.7 kB / 1.275 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.045e-05/0.776, allocations: 16.16 kB / 1.275 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.078e-05/0.776, allocations: 12.39 kB / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.776, allocations: 4.797 kB / 1.275 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.7761, allocations: 1.688 kB / 1.275 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.7761, allocations: 0 / 1.275 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002421/0.7763, allocations: 475 kB / 1.275 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.7763, allocations: 0.875 kB / 1.275 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.807e-05/0.7763, allocations: 5.344 kB / 1.275 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.7763, allocations: 0.7188 kB / 1.275 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.129e-06/0.7763, allocations: 0.6875 kB / 1.275 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.7763, allocations: 0.875 kB / 1.275 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.7763, allocations: 0.7812 kB / 1.275 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.503e-05/0.7764, allocations: 83.92 kB / 1.275 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.734e-05/0.7764, allocations: 87.23 kB / 1.276 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.7764, allocations: 0.9375 kB / 1.276 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.077e-05/0.7765, allocations: 0.7188 kB / 1.276 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.45e-05/0.7765, allocations: 6.875 kB / 1.276 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.7765, allocations: 0.8438 kB / 1.276 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.075e-05/0.7765, allocations: 120.6 kB / 1.276 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.7765, allocations: 4 kB / 1.276 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001841/0.7767, allocations: 11.06 kB / 1.276 GB, free: 3.918 MB / 0.9981 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.0002113/0.7769, allocations: 0.6082 MB / 1.276 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.661e-05/0.777, allocations: 25.17 kB / 1.276 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.777, allocations: 1.094 kB / 1.276 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.015e-05/0.777, allocations: 7.906 kB / 1.276 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000135/0.7772, allocations: 11.56 kB / 1.276 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008957/0.7781, allocations: 1.332 MB / 1.278 GB, free: 18.06 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.7784, allocations: 0.6918 MB / 1.278 GB, free: 17.37 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.221e-05/0.7784, allocations: 10.97 kB / 1.278 GB, free: 17.36 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.041e-05/0.7784, allocations: 25.44 kB / 1.278 GB, free: 17.34 MB / 1.014 GB Notification: Performance of SimCode: time 2.9e-07/0.7784, allocations: 0.9688 kB / 1.278 GB, free: 17.34 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02221/0.8006, allocations: 1.561 MB / 1.28 GB, free: 16.97 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.82/7.62, allocations: 9.188 kB / 1.28 GB, free: 16.96 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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: 13.009483975001785]