Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009204/0.0009204, 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.001041/0.001041, allocations: 165.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.9144/0.9144, allocations: 177.1 MB / 202.8 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.782/1.782, allocations: 389 MB / 0.633 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.986e-05/2.171e-05, allocations: 5.234 kB / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.001339/0.001361, allocations: 0.7829 MB / 1 GB, free: 12.73 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0002977/0.001659, allocations: 39.84 kB / 1 GB, free: 12.69 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.252e-05/0.001701, allocations: 7.938 kB / 1 GB, free: 12.68 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.259e-05/0.001734, allocations: 11.86 kB / 1 GB, free: 12.67 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.367e-05/0.001798, allocations: 15.81 kB / 1.001 GB, free: 12.65 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 3.403e-05/0.001832, allocations: 11.98 kB / 1.001 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.032e-05/0.001912, allocations: 63.84 kB / 1.001 GB, free: 12.58 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.002014, allocations: 31.95 kB / 1.001 GB, free: 12.55 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.654e-05/0.00207, allocations: 31.92 kB / 1.001 GB, free: 12.52 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.85e-05/0.002119, allocations: 27.83 kB / 1.001 GB, free: 12.49 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.00214, allocations: 4 kB / 1.001 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.923e-06/0.002147, allocations: 8 kB / 1.001 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.945e-05/0.002166, allocations: 15.94 kB / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.244e-05/0.002189, allocations: 19.92 kB / 1.001 GB, free: 12.44 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.045e-05/0.002279, allocations: 75.69 kB / 1.001 GB, free: 12.37 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.002281, allocations: 0 / 1.001 GB, free: 12.37 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.82e-07/0.002282, allocations: 0 / 1.001 GB, free: 12.37 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.002286, allocations: 0 / 1.001 GB, free: 12.37 MB / 0.9636 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.0003435/0.00263, allocations: 309.9 kB / 1.001 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.002666, allocations: 8.75 kB / 1.001 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.2e-05/0.002698, allocations: 42.73 kB / 1.001 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.106e-05/0.002719, allocations: 8.891 kB / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.002865, allocations: 133.7 kB / 1.001 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.002875, allocations: 12.38 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.858e-06/0.002885, allocations: 4.375 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.003, allocations: 97.52 kB / 1.001 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.003007, allocations: 192 / 1.001 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.003015, allocations: 4.375 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.003021, allocations: 4.125 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.501e-05/0.003076, allocations: 35.98 kB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003832/0.003459, allocations: 391.8 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.612e-05/0.003505, allocations: 37.22 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.728e-05/0.003532, allocations: 21.88 kB / 1.002 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.311e-06/0.003538, allocations: 3.938 kB / 1.002 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.003557, allocations: 42.48 kB / 1.002 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.003559, allocations: 0 / 1.002 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001213/0.00368, allocations: 49.59 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.003711, allocations: 85.05 kB / 1.002 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.003817, allocations: 160.1 kB / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.003826, allocations: 25.7 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.716e-05/0.003873, allocations: 104.3 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.494e-06/0.00388, allocations: 19.83 kB / 1.002 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.378e-05/0.003904, allocations: 13.72 kB / 1.002 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.263e-05/0.003977, allocations: 322.8 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.321e-05/0.00399, allocations: 8 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.64e-05/0.004006, allocations: 17.7 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.355e-05/0.00404, allocations: 33.64 kB / 1.003 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.004041, allocations: 0 / 1.003 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.635e-05/0.004098, allocations: 57.66 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.004111, allocations: 8.062 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.004115, allocations: 0 / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.004125, allocations: 0 / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.331e-05/0.004179, allocations: 19.86 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.004183, allocations: 0 / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.721e-05/0.0042, allocations: 3.953 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-06/0.004204, allocations: 4 kB / 1.003 GB, free: 10.09 MB / 0.9636 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 5.407e-05/0.004258, allocations: 113.8 kB / 1.003 GB, free: 9.969 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.027e-05/0.004278, allocations: 7.953 kB / 1.003 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.878e-05/0.004297, allocations: 11.81 kB / 1.003 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.004301, allocations: 7.984 kB / 1.003 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.004306, allocations: 3.938 kB / 1.003 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.004308, allocations: 0 / 1.003 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002403/0.004548, allocations: 433.9 kB / 1.003 GB, free: 9.457 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.004549, allocations: 0 / 1.003 GB, free: 9.457 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.087e-05/0.00456, allocations: 11.94 kB / 1.003 GB, free: 9.445 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.004562, allocations: 0 / 1.003 GB, free: 9.445 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.348e-06/0.004566, allocations: 4 kB / 1.003 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.004567, allocations: 0 / 1.003 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.004567, allocations: 0 / 1.003 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.883e-05/0.004616, allocations: 90.66 kB / 1.003 GB, free: 9.332 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.997e-05/0.004636, allocations: 11.84 kB / 1.003 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.598e-06/0.004646, allocations: 4 kB / 1.003 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.758e-06/0.004656, allocations: 0 / 1.003 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.072e-05/0.004666, allocations: 3.984 kB / 1.003 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.004668, allocations: 0 / 1.003 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.763e-05/0.004726, allocations: 125.5 kB / 1.004 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.004726, allocations: 0 / 1.004 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001191/0.004845, allocations: 11.94 kB / 1.004 GB, free: 9.18 MB / 0.9636 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.0002064/0.005051, allocations: 0.6132 MB / 1.004 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 6.168e-05/0.005113, allocations: 20 kB / 1.004 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.005114, allocations: 0 / 1.004 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.235e-06/0.005122, allocations: 11.94 kB / 1.004 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001097/0.005232, allocations: 10 kB / 1.004 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007825/0.006015, allocations: 1.336 MB / 1.006 GB, free: 7.059 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.445e-05/0.006059, allocations: 87.53 kB / 1.006 GB, free: 6.953 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.455e-05/0.006084, allocations: 8.484 kB / 1.006 GB, free: 6.945 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.853e-05/0.006122, allocations: 28.48 kB / 1.006 GB, free: 6.914 MB / 0.9636 GB Notification: Performance of SimCode: time 5.91e-07/0.006123, allocations: 0 / 1.006 GB, free: 6.914 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01275/0.01887, allocations: 2.232 MB / 1.008 GB, free: 4.809 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.898/6.917, allocations: 15.36 kB / 1.008 GB, free: 4.797 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.csv --start-time 0 --stop-time 10 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.161290938034654]