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) 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 11.1.0-maint.11.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 196.3 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.584/2.584, allocations: 469.8 MB / 0.7424 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001775, allocations: 69.03 kB / 0.9087 GB, free: 34.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2468, allocations: 159.1 MB / 1.064 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.001901/0.2487, allocations: 0.8351 MB / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001014/0.2489, allocations: 39.78 kB / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.856e-05/0.2489, allocations: 4 kB / 1.065 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.284e-05/0.249, allocations: 3.938 kB / 1.065 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.466e-05/0.249, allocations: 19.86 kB / 1.065 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.898e-05/0.2491, allocations: 15.98 kB / 1.065 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.364e-05/0.2492, allocations: 63.78 kB / 1.065 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.2493, allocations: 43.97 kB / 1.065 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.144e-05/0.2494, allocations: 27.86 kB / 1.065 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.591e-05/0.2494, allocations: 27.84 kB / 1.065 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.2494, allocations: 8 kB / 1.065 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.203e-05/0.2494, allocations: 4 kB / 1.065 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.28e-05/0.2495, allocations: 11.94 kB / 1.065 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.705e-05/0.2495, allocations: 35.73 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.828e-05/0.2496, allocations: 75.98 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.2496, allocations: 0 / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2496, allocations: 0 / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.2496, allocations: 4 kB / 1.065 GB, free: 13.04 MB / 0.8262 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.0003898/0.25, allocations: 371.3 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.2501, allocations: 8.031 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.091e-05/0.2501, allocations: 42.69 kB / 1.066 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.59e-05/0.2502, allocations: 20.69 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.2503, allocations: 188.2 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.2504, allocations: 8.375 kB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.2504, allocations: 12.31 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.2505, allocations: 97.61 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.2505, allocations: 3.938 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.2506, allocations: 4 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.2506, allocations: 4 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.052e-05/0.2506, allocations: 31.98 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004892/0.2511, allocations: 448.5 kB / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.88e-05/0.2512, allocations: 33.22 kB / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.923e-05/0.2512, allocations: 21.81 kB / 1.066 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.573e-06/0.2513, allocations: 0 / 1.066 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.2513, allocations: 38.56 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.2513, allocations: 0 / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001624/0.2515, allocations: 57.47 kB / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.107e-05/0.2515, allocations: 77.11 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.2517, allocations: 166.2 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.2517, allocations: 25.7 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.129e-05/0.2518, allocations: 101.9 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.749e-06/0.2518, allocations: 16.14 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.912e-05/0.2518, allocations: 13.72 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.2519, allocations: 318.8 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.686e-05/0.252, allocations: 8 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.032e-05/0.252, allocations: 13.72 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.881e-05/0.252, allocations: 29.66 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.252, allocations: 4 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.797e-05/0.2521, allocations: 57.59 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.2521, allocations: 7.938 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.2522, allocations: 0 / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.2522, allocations: 7.938 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.809e-05/0.2522, allocations: 4 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.2522, allocations: 0 / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.618e-05/0.2523, allocations: 15.84 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.015e-06/0.2523, allocations: 0 / 1.067 GB, free: 10.55 MB / 0.8262 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 7.411e-05/0.2524, allocations: 121.9 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.189e-05/0.2524, allocations: 11.84 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.067e-05/0.2524, allocations: 7.875 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.2524, allocations: 3.938 kB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2524, allocations: 0 / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-06/0.2524, allocations: 3.938 kB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003833/0.2528, allocations: 474.8 kB / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2528, allocations: 0 / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.949e-05/0.2529, allocations: 8.078 kB / 1.068 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.2529, allocations: 3.984 kB / 1.068 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.012e-06/0.2529, allocations: 4 kB / 1.068 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2529, allocations: 0 / 1.068 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2529, allocations: 0 / 1.068 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.591e-05/0.253, allocations: 85.84 kB / 1.068 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.62e-05/0.253, allocations: 93 kB / 1.068 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.2531, allocations: 0 / 1.068 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.922e-05/0.2531, allocations: 0 / 1.068 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.008e-05/0.2531, allocations: 4 kB / 1.068 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-06/0.2531, allocations: 0 / 1.068 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.885e-05/0.2532, allocations: 122.1 kB / 1.068 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2532, allocations: 0 / 1.068 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000176/0.2534, allocations: 12 kB / 1.068 GB, free: 9.508 MB / 0.8262 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.0003701/0.2538, allocations: 0.617 MB / 1.069 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.086e-05/0.2538, allocations: 23.98 kB / 1.069 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2538, allocations: 160 / 1.069 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.438e-05/0.2539, allocations: 15.94 kB / 1.069 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001347/0.254, allocations: 6.406 kB / 1.069 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.2551, allocations: 1.311 MB / 1.07 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.2554, allocations: 0.6923 MB / 1.071 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.79e-05/0.2554, allocations: 8.422 kB / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.538e-05/0.2555, allocations: 27.42 kB / 1.071 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.2555, allocations: 0 / 1.071 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2765/0.532, allocations: 1.545 MB / 1.072 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/12.89, allocations: 13.11 kB / 1.072 GB, free: 5.176 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/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) Reference file matches