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.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.0007896/0.0007896, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008029/0.0008029, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9377/0.9377, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.665/1.665, allocations: 359 MB / 0.6037 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 2.014e-06/2.014e-06, allocations: 0 / 0.9505 GB, free: 3.469 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.133e-05/2.334e-05, allocations: 5.375 kB / 0.9505 GB, free: 3.465 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.001876/0.0019, allocations: 0.7907 MB / 0.9513 GB, free: 2.668 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001191/0.002019, allocations: 39.84 kB / 0.9513 GB, free: 2.629 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.602e-05/0.002075, allocations: 4 kB / 0.9513 GB, free: 2.625 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 4.113e-05/0.002116, allocations: 15.8 kB / 0.9513 GB, free: 2.609 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.441e-05/0.0022, allocations: 11.88 kB / 0.9513 GB, free: 2.598 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 4.818e-05/0.002249, allocations: 15.98 kB / 0.9514 GB, free: 2.582 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.000118/0.002367, allocations: 63.83 kB / 0.9514 GB, free: 2.52 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.002501, allocations: 27.97 kB / 0.9515 GB, free: 2.492 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 9.455e-05/0.002595, allocations: 35.86 kB / 0.9515 GB, free: 2.457 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.877e-05/0.002644, allocations: 27.89 kB / 0.9515 GB, free: 2.43 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 3.136e-05/0.002675, allocations: 4 kB / 0.9515 GB, free: 2.426 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 1.001e-05/0.002685, allocations: 12 kB / 0.9515 GB, free: 2.414 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.002704, allocations: 7.938 kB / 0.9515 GB, free: 2.406 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.375e-05/0.002738, allocations: 27.91 kB / 0.9516 GB, free: 2.379 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.002847, allocations: 71.75 kB / 0.9516 GB, free: 2.309 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.704e-06/0.002849, allocations: 0 / 0.9516 GB, free: 2.309 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.52e-07/0.00285, allocations: 3.938 kB / 0.9516 GB, free: 2.305 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.868e-06/0.002854, allocations: 3.938 kB / 0.9516 GB, free: 2.301 MB / 0.9011 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.0004066/0.00326, allocations: 302 kB / 0.9519 GB, free: 1.973 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.003307, allocations: 8.031 kB / 0.9519 GB, free: 1.965 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.49e-05/0.003352, allocations: 42.73 kB / 0.952 GB, free: 1.914 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.002e-05/0.003382, allocations: 16.84 kB / 0.952 GB, free: 1.898 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.003579, allocations: 133.5 kB / 0.9521 GB, free: 1.742 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.003594, allocations: 8.375 kB / 0.9521 GB, free: 1.734 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.003611, allocations: 8.375 kB / 0.9521 GB, free: 1.727 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.003774, allocations: 94.55 kB / 0.9522 GB, free: 1.625 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.003783, allocations: 192 / 0.9522 GB, free: 1.625 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.003795, allocations: 4.375 kB / 0.9522 GB, free: 1.621 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.003805, allocations: 8.125 kB / 0.9522 GB, free: 1.613 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.349e-05/0.003888, allocations: 35.98 kB / 0.9523 GB, free: 1.578 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005096/0.004398, allocations: 399.7 kB / 0.9527 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 5.687e-05/0.004454, allocations: 33.28 kB / 0.9527 GB, free: 1.09 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.479e-05/0.004499, allocations: 25.75 kB / 0.9527 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.00451, allocations: 0 / 0.9527 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.004545, allocations: 38.55 kB / 0.9527 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 5.51e-06/0.004551, allocations: 0 / 0.9527 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0002243/0.004775, allocations: 53.59 kB / 0.9528 GB, free: 0.9531 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.84e-05/0.004833, allocations: 81.05 kB / 0.9529 GB, free: 0.8555 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.004992, allocations: 157.2 kB / 0.953 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.005005, allocations: 29.7 kB / 0.9531 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 7.625e-05/0.005081, allocations: 104.1 kB / 0.9532 GB, free: 0.5547 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 8.145e-06/0.005089, allocations: 7.953 kB / 0.9532 GB, free: 0.5469 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-05/0.00513, allocations: 21.67 kB / 0.9532 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.005241, allocations: 318.8 kB / 0.9535 GB, free: 204 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.835e-05/0.00526, allocations: 4 kB / 0.9535 GB, free: 200 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.508e-05/0.005285, allocations: 25.7 kB / 0.9535 GB, free: 168 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.304e-05/0.005328, allocations: 29.66 kB / 0.9535 GB, free: 132 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.00533, allocations: 0 / 0.9535 GB, free: 132 kB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.515e-05/0.005415, allocations: 57.66 kB / 0.9536 GB, free: 68 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.00543, allocations: 8 kB / 0.9536 GB, free: 60 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.005435, allocations: 3.938 kB / 0.9536 GB, free: 56 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.005449, allocations: 0 / 0.9536 GB, free: 56 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.264e-05/0.005521, allocations: 11.92 kB / 0.9536 GB, free: 44 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.005527, allocations: 4 kB / 0.9536 GB, free: 40 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.633e-05/0.005554, allocations: 3.938 kB / 0.9536 GB, free: 36 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.005559, allocations: 4 kB / 0.9536 GB, free: 32 kB / 0.9011 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 8.07e-05/0.00564, allocations: 113.8 kB / 0.9537 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.801e-05/0.005678, allocations: 15.95 kB / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.05e-05/0.005699, allocations: 11.8 kB / 0.9538 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.0057, allocations: 0 / 0.9538 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.005706, allocations: 7.938 kB / 0.9538 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.005708, allocations: 0 / 0.9538 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003701/0.006078, allocations: 437.9 kB / 0.9542 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.00608, allocations: 0 / 0.9542 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.723e-05/0.006097, allocations: 7.938 kB / 0.9542 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.006099, allocations: 0 / 0.9542 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.006105, allocations: 0 / 0.9542 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.006108, allocations: 8.062 kB / 0.9542 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.006109, allocations: 0 / 0.9542 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.021e-05/0.006179, allocations: 77.88 kB / 0.9543 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.523e-05/0.006204, allocations: 11.98 kB / 0.9543 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.006218, allocations: 4 kB / 0.9543 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.093e-05/0.006239, allocations: 7.984 kB / 0.9543 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.359e-05/0.006253, allocations: 3.984 kB / 0.9543 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.006255, allocations: 0 / 0.9543 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 8.213e-05/0.006337, allocations: 122.1 kB / 0.9544 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.006337, allocations: 0 / 0.9544 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002309/0.006568, allocations: 12.03 kB / 0.9544 GB, free: 15.12 MB / 0.9167 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.0003217/0.00689, allocations: 0.6132 MB / 0.955 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 8.822e-05/0.006978, allocations: 16 kB / 0.955 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.00698, allocations: 0 / 0.955 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.063e-05/0.00699, allocations: 7.938 kB / 0.9551 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000177/0.007167, allocations: 8 kB / 0.9551 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.008383, allocations: 1.341 MB / 0.9564 GB, free: 13 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.245e-05/0.008435, allocations: 79.31 kB / 0.9564 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.014e-05/0.008466, allocations: 4.5 kB / 0.9565 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.65e-05/0.008512, allocations: 24.48 kB / 0.9565 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of SimCode: time 1.022e-06/0.008513, allocations: 0 / 0.9565 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01738/0.02589, allocations: 2.242 MB / 0.9587 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.566/6.592, allocations: 5.781 kB / 0.9587 GB, free: 10.77 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 10.764346997253597]