Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.345/2.345, allocations: 223.2 MB / 239.9 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.579/3.579, allocations: 409.2 MB / 0.6838 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005575/0.0005576, allocations: 16 kB / 0.8375 GB, free: 6.578 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.058/1.059, allocations: 146.8 MB / 0.9809 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.001384/1.06, allocations: 0.5266 MB / 0.9814 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001518/1.061, allocations: 39.8 kB / 0.9814 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.741e-05/1.061, allocations: 4 kB / 0.9814 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.444e-05/1.061, allocations: 3.938 kB / 0.9814 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001065/1.061, allocations: 7.984 kB / 0.9814 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.358e-05/1.061, allocations: 8 kB / 0.9814 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001216/1.061, allocations: 43.88 kB / 0.9815 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001694/1.061, allocations: 28.17 kB / 0.9815 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.538e-05/1.061, allocations: 23.86 kB / 0.9815 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.123e-05/1.061, allocations: 15.88 kB / 0.9815 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/1.061, allocations: 0 / 0.9815 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.175e-05/1.061, allocations: 4 kB / 0.9815 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.026e-05/1.061, allocations: 11.91 kB / 0.9816 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.001e-05/1.061, allocations: 37.64 kB / 0.9816 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001155/1.062, allocations: 50.14 kB / 0.9816 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/1.062, allocations: 0 / 0.9816 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.864e-06/1.062, allocations: 0 / 0.9816 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.325e-06/1.062, allocations: 4 kB / 0.9816 GB, free: 5.523 MB / 0.7325 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.0005335/1.062, allocations: 371 kB / 0.982 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/1.062, allocations: 8.031 kB / 0.982 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.831e-05/1.062, allocations: 42.55 kB / 0.982 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.64e-05/1.062, allocations: 7.906 kB / 0.9821 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/1.063, allocations: 186.9 kB / 0.9822 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/1.063, allocations: 8 kB / 0.9822 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/1.063, allocations: 4 kB / 0.9822 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/1.063, allocations: 111.2 kB / 0.9824 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/1.063, allocations: 0 / 0.9824 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/1.063, allocations: 4 kB / 0.9824 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/1.063, allocations: 0 / 0.9824 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/1.063, allocations: 39.91 kB / 0.9824 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000698/1.064, allocations: 432.7 kB / 0.9828 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.841e-05/1.064, allocations: 45.25 kB / 0.9828 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.368e-06/1.064, allocations: 0 / 0.9828 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/1.064, allocations: 34.55 kB / 0.9829 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/1.064, allocations: 4 kB / 0.9829 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0002647/1.064, allocations: 49.55 kB / 0.9829 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.909e-05/1.064, allocations: 89.06 kB / 0.983 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/1.065, allocations: 164.2 kB / 0.9832 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/1.065, allocations: 25.7 kB / 0.9832 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.713e-05/1.065, allocations: 104 kB / 0.9833 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.427e-05/1.065, allocations: 11.84 kB / 0.9833 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-06/1.065, allocations: 256 / 0.9833 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001599/1.065, allocations: 322.8 kB / 0.9836 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.343e-05/1.065, allocations: 4 kB / 0.9836 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.802e-05/1.065, allocations: 21.66 kB / 0.9836 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.033e-05/1.065, allocations: 12 kB / 0.9837 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.065, allocations: 0 / 0.9837 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001322/1.065, allocations: 53.59 kB / 0.9837 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/1.065, allocations: 10.09 kB / 0.9837 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/1.065, allocations: 4 kB / 0.9837 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/1.065, allocations: 4 kB / 0.9837 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.035e-05/1.065, allocations: 7.938 kB / 0.9837 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/1.065, allocations: 7.938 kB / 0.9837 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.711e-05/1.065, allocations: 8 kB / 0.9837 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/1.065, allocations: 0 / 0.9837 GB, free: 3.121 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001223/1.066, allocations: 117.8 kB / 0.9839 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.397e-05/1.066, allocations: 7.906 kB / 0.9839 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.659e-05/1.066, allocations: 11.88 kB / 0.9839 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/1.066, allocations: 0 / 0.9839 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/1.066, allocations: 0 / 0.9839 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/1.066, allocations: 7.891 kB / 0.9839 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005646/1.066, allocations: 470.7 kB / 0.9843 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/1.066, allocations: 0 / 0.9843 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.893e-05/1.066, allocations: 7.984 kB / 0.9843 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/1.066, allocations: 64 / 0.9843 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/1.066, allocations: 8 kB / 0.9843 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/1.066, allocations: 3.953 kB / 0.9844 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.066, allocations: 0 / 0.9844 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/1.067, allocations: 87.56 kB / 0.9844 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.87e-05/1.067, allocations: 89 kB / 0.9845 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/1.067, allocations: 7.984 kB / 0.9845 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.413e-05/1.067, allocations: 0 / 0.9845 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.551e-05/1.067, allocations: 4 kB / 0.9845 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/1.067, allocations: 3.938 kB / 0.9845 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001462/1.067, allocations: 124.9 kB / 0.9847 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.6e-07/1.067, allocations: 0 / 0.9847 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004131/1.067, allocations: 7.938 kB / 0.9847 GB, free: 2.066 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00053/1.068, allocations: 0.6992 MB / 0.9853 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001104/1.068, allocations: 19.98 kB / 0.9854 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.068, allocations: 0 / 0.9854 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.799e-05/1.068, allocations: 8.094 kB / 0.9854 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001635/1.068, allocations: 8.125 kB / 0.9854 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/1.07, allocations: 0.6954 MB / 0.9861 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005062/1.07, allocations: 0.6965 MB / 0.9867 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.788e-05/1.07, allocations: 8.422 kB / 0.9867 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.226e-05/1.07, allocations: 27.42 kB / 0.9868 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of SimCode: time 4.6e-07/1.07, allocations: 4 kB / 0.9868 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03781/1.108, allocations: 1.472 MB / 0.9882 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004083/1.109, allocations: 192.7 kB / 0.9884 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.672/3.78, allocations: 0 / 0.9884 GB, free: 14.21 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat does not exist to compare? outputFormat=mat