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.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005044/0.005044, allocations: 97.98 kB / 15.73 MB, free: 5.602 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.001412/0.001412, allocations: 195.3 kB / 16.68 MB, free: 5.523 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.277/1.277, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.431/2.431, allocations: 482.6 MB / 0.7551 GB, free: 6.598 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 65.05 kB / 1.083 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2561, allocations: 162.3 MB / 1.242 GB, free: 8.867 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.001779/0.2579, allocations: 0.8257 MB / 1.243 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 9.934e-05/0.258, allocations: 43.78 kB / 1.243 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.393e-05/0.258, allocations: 3.938 kB / 1.243 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.036e-05/0.2581, allocations: 7.875 kB / 1.243 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.663e-05/0.2581, allocations: 7.875 kB / 1.243 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.435e-05/0.2582, allocations: 23.97 kB / 1.243 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.095e-05/0.2583, allocations: 63.89 kB / 1.243 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.2584, allocations: 37.38 kB / 1.243 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.493e-05/0.2585, allocations: 31.8 kB / 1.243 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.472e-05/0.2585, allocations: 27.8 kB / 1.243 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.2585, allocations: 12 kB / 1.243 GB, free: 7.785 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.956e-06/0.2586, allocations: 7.938 kB / 1.243 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.089e-05/0.2586, allocations: 19.92 kB / 1.243 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.986e-05/0.2586, allocations: 31.81 kB / 1.243 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.2587, allocations: 75.84 kB / 1.243 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.2587, allocations: 0 / 1.243 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2588, allocations: 0 / 1.243 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.868e-06/0.2588, allocations: 0 / 1.243 GB, free: 7.652 MB / 0.9669 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.000386/0.2591, allocations: 379.1 kB / 1.243 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/0.2592, allocations: 12.03 kB / 1.243 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.616e-05/0.2592, allocations: 46.73 kB / 1.243 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.875e-05/0.2593, allocations: 8.891 kB / 1.243 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.2595, allocations: 192.2 kB / 1.244 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.364e-06/0.2595, allocations: 8.312 kB / 1.244 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.2595, allocations: 8.375 kB / 1.244 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.2596, allocations: 97.75 kB / 1.244 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.2597, allocations: 3.938 kB / 1.244 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.2597, allocations: 8 kB / 1.244 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2597, allocations: 0 / 1.244 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.828e-05/0.2598, allocations: 35.98 kB / 1.244 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004791/0.2602, allocations: 440.6 kB / 1.244 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.727e-05/0.2603, allocations: 37.16 kB / 1.244 GB, free: 6.223 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.387e-05/0.2603, allocations: 21.83 kB / 1.244 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.478e-06/0.2604, allocations: 4 kB / 1.244 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.2604, allocations: 38.59 kB / 1.244 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.2604, allocations: 0 / 1.244 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.00014/0.2605, allocations: 53.53 kB / 1.244 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.2606, allocations: 85.36 kB / 1.244 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.2607, allocations: 156.5 kB / 1.245 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.2607, allocations: 29.7 kB / 1.245 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.089e-05/0.2608, allocations: 100.1 kB / 1.245 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.498e-06/0.2608, allocations: 7.891 kB / 1.245 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.109e-05/0.2609, allocations: 17.72 kB / 1.245 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.261, allocations: 318.8 kB / 1.245 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.476e-05/0.261, allocations: 4 kB / 1.245 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.541e-05/0.261, allocations: 29.7 kB / 1.245 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.027e-05/0.2611, allocations: 25.66 kB / 1.245 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.2611, allocations: 0 / 1.245 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.843e-05/0.2612, allocations: 61.58 kB / 1.245 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.2612, allocations: 7.938 kB / 1.245 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.2612, allocations: 4 kB / 1.245 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.468e-06/0.2612, allocations: 4.062 kB / 1.245 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.219e-05/0.2613, allocations: 7.938 kB / 1.245 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.2613, allocations: 0 / 1.245 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.644e-05/0.2613, allocations: 8.047 kB / 1.245 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-06/0.2613, allocations: 0 / 1.245 GB, free: 5.168 MB / 0.9669 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.095e-05/0.2614, allocations: 113.8 kB / 1.245 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.172e-05/0.2614, allocations: 15.88 kB / 1.245 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.174e-05/0.2615, allocations: 19.8 kB / 1.245 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.2615, allocations: 0 / 1.245 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.2615, allocations: 4 kB / 1.245 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.2615, allocations: 4 kB / 1.245 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003784/0.2619, allocations: 470.7 kB / 1.246 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2619, allocations: 4 kB / 1.246 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.803e-05/0.2619, allocations: 4 kB / 1.246 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.2619, allocations: 4 kB / 1.246 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.649e-06/0.2619, allocations: 0 / 1.246 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2619, allocations: 4.062 kB / 1.246 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2619, allocations: 0 / 1.246 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.061e-05/0.262, allocations: 81.81 kB / 1.246 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.531e-05/0.2621, allocations: 89.05 kB / 1.246 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.022e-05/0.2621, allocations: 0 / 1.246 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.324e-05/0.2621, allocations: 8 kB / 1.246 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.085e-05/0.2621, allocations: 4.031 kB / 1.246 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.2622, allocations: 0 / 1.246 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.623e-05/0.2622, allocations: 121.5 kB / 1.246 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2622, allocations: 0 / 1.246 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001778/0.2624, allocations: 11.94 kB / 1.246 GB, free: 4.117 MB / 0.9669 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.0003492/0.2628, allocations: 0.6176 MB / 1.247 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 6.909e-05/0.2629, allocations: 16 kB / 1.247 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2629, allocations: 0 / 1.247 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.186e-05/0.2629, allocations: 7.938 kB / 1.247 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001354/0.263, allocations: 8 kB / 1.247 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.2641, allocations: 1.332 MB / 1.248 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.2644, allocations: 0.6963 MB / 1.249 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.573e-05/0.2644, allocations: 8.375 kB / 1.249 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.518e-05/0.2645, allocations: 31.36 kB / 1.249 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of SimCode: time 2.41e-07/0.2645, allocations: 4 kB / 1.249 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.506/0.7705, allocations: 1.564 MB / 1.25 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/11.2, allocations: 17.92 kB / 1.25 GB, free: 15.78 MB / 0.9825 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches