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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000892/0.000892, allocations: 99.11 kB / 16.02 MB, free: 76 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.001247/0.001247, allocations: 185.7 kB / 16.92 MB, free: 6.75 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.292/1.292, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.467/2.467, allocations: 443.2 MB / 0.7181 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003136/0.0003139, allocations: 16 kB / 0.8801 GB, free: 42.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2541, allocations: 155.2 MB / 1.032 GB, free: 4.711 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.0009153/0.2551, allocations: 0.5462 MB / 1.032 GB, free: 4.168 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 9.384e-05/0.2552, allocations: 39.8 kB / 1.032 GB, free: 4.129 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.239e-05/0.2552, allocations: 0 / 1.032 GB, free: 4.129 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.118e-05/0.2553, allocations: 7.938 kB / 1.032 GB, free: 4.121 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.575e-05/0.2553, allocations: 3.984 kB / 1.032 GB, free: 4.117 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 4.717e-05/0.2554, allocations: 23.92 kB / 1.032 GB, free: 4.094 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.831e-05/0.2555, allocations: 55.84 kB / 1.032 GB, free: 4.039 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.2556, allocations: 39.97 kB / 1.032 GB, free: 4 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.132e-05/0.2557, allocations: 15.88 kB / 1.032 GB, free: 3.984 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.623e-05/0.2557, allocations: 19.86 kB / 1.032 GB, free: 3.965 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.2558, allocations: 4 kB / 1.032 GB, free: 3.961 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.412e-06/0.2558, allocations: 0 / 1.032 GB, free: 3.961 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.084e-05/0.2558, allocations: 15.86 kB / 1.032 GB, free: 3.945 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.419e-05/0.2559, allocations: 49.52 kB / 1.032 GB, free: 3.891 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.129e-05/0.2559, allocations: 52.09 kB / 1.032 GB, free: 3.84 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.2559, allocations: 4 kB / 1.032 GB, free: 3.836 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.563e-06/0.256, allocations: 0 / 1.032 GB, free: 3.836 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.256, allocations: 4 kB / 1.032 GB, free: 3.832 MB / 0.7794 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.0003827/0.2564, allocations: 359.2 kB / 1.033 GB, free: 3.43 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.2564, allocations: 15.95 kB / 1.033 GB, free: 3.414 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.542e-05/0.2564, allocations: 12.84 kB / 1.033 GB, free: 3.402 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.2566, allocations: 188.2 kB / 1.033 GB, free: 3.18 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.2566, allocations: 4.375 kB / 1.033 GB, free: 3.176 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.2567, allocations: 8.375 kB / 1.033 GB, free: 3.168 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.2568, allocations: 97.61 kB / 1.033 GB, free: 3.062 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.2568, allocations: 192 / 1.033 GB, free: 3.062 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.2569, allocations: 7.938 kB / 1.033 GB, free: 3.055 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.2569, allocations: 3.984 kB / 1.033 GB, free: 3.051 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.986e-05/0.257, allocations: 43.86 kB / 1.033 GB, free: 3.008 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004905/0.2575, allocations: 440.6 kB / 1.034 GB, free: 2.523 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.468e-05/0.2575, allocations: 37.25 kB / 1.034 GB, free: 2.469 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.45e-05/0.2576, allocations: 17.78 kB / 1.034 GB, free: 2.445 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.402e-06/0.2576, allocations: 0 / 1.034 GB, free: 2.445 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.2576, allocations: 42.55 kB / 1.034 GB, free: 2.395 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.2576, allocations: 0 / 1.034 GB, free: 2.395 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001501/0.2578, allocations: 57.48 kB / 1.034 GB, free: 2.332 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.2578, allocations: 77.11 kB / 1.034 GB, free: 2.238 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.2579, allocations: 164 kB / 1.034 GB, free: 2.07 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.258, allocations: 25.7 kB / 1.034 GB, free: 2.039 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.346e-05/0.258, allocations: 104 kB / 1.034 GB, free: 1.934 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.747e-06/0.258, allocations: 8.156 kB / 1.034 GB, free: 1.926 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.115e-05/0.2581, allocations: 13.72 kB / 1.034 GB, free: 1.906 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.2582, allocations: 322.8 kB / 1.034 GB, free: 1.582 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.486e-05/0.2582, allocations: 4 kB / 1.034 GB, free: 1.578 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.217e-05/0.2582, allocations: 17.72 kB / 1.034 GB, free: 1.555 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.335e-05/0.2583, allocations: 33.64 kB / 1.034 GB, free: 1.516 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2583, allocations: 0 / 1.034 GB, free: 1.516 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.732e-05/0.2584, allocations: 57.55 kB / 1.035 GB, free: 1.453 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.2584, allocations: 8 kB / 1.035 GB, free: 1.445 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.2584, allocations: 7.922 kB / 1.035 GB, free: 1.438 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.2584, allocations: 0 / 1.035 GB, free: 1.438 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.427e-05/0.2585, allocations: 11.92 kB / 1.035 GB, free: 1.426 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.2585, allocations: 4 kB / 1.035 GB, free: 1.422 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.056e-05/0.2585, allocations: 11.84 kB / 1.035 GB, free: 1.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.616e-06/0.2585, allocations: 0 / 1.035 GB, free: 1.41 MB / 0.7794 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 6.949e-05/0.2586, allocations: 119.4 kB / 1.035 GB, free: 1.285 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.531e-05/0.2587, allocations: 7.906 kB / 1.035 GB, free: 1.277 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.088e-05/0.2587, allocations: 11.81 kB / 1.035 GB, free: 1.266 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.2587, allocations: 0 / 1.035 GB, free: 1.266 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2587, allocations: 3.984 kB / 1.035 GB, free: 1.262 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.2587, allocations: 4.094 kB / 1.035 GB, free: 1.258 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003485/0.2591, allocations: 474.8 kB / 1.035 GB, free: 0.7305 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.2591, allocations: 4.062 kB / 1.035 GB, free: 0.7266 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.583e-05/0.2591, allocations: 0 / 1.035 GB, free: 0.7266 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.2591, allocations: 4 kB / 1.035 GB, free: 0.7227 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-06/0.2591, allocations: 0 / 1.035 GB, free: 0.7227 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.2591, allocations: 0 / 1.035 GB, free: 0.7227 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2591, allocations: 3.938 kB / 1.035 GB, free: 0.7188 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.567e-05/0.2592, allocations: 81.77 kB / 1.035 GB, free: 0.6172 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.561e-05/0.2593, allocations: 97.05 kB / 1.035 GB, free: 0.5039 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.2593, allocations: 0 / 1.035 GB, free: 0.5039 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.905e-05/0.2593, allocations: 4 kB / 1.035 GB, free: 0.5 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.371e-05/0.2593, allocations: 3.984 kB / 1.035 GB, free: 0.4961 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.2593, allocations: 0 / 1.035 GB, free: 0.4961 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.181e-05/0.2594, allocations: 120.9 kB / 1.035 GB, free: 388 kB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2594, allocations: 0 / 1.035 GB, free: 388 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001786/0.2596, allocations: 11.91 kB / 1.035 GB, free: 376 kB / 0.7794 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.0001076/0.2597, allocations: 103.2 kB / 1.036 GB, free: 260 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.902e-05/0.2598, allocations: 19.94 kB / 1.036 GB, free: 240 kB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2598, allocations: 416 / 1.036 GB, free: 240 kB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.026e-05/0.2598, allocations: 4 kB / 1.036 GB, free: 236 kB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000153/0.26, allocations: 14.05 kB / 1.036 GB, free: 224 kB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003112/0.2603, allocations: 214.4 kB / 1.036 GB, free: 15.96 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.2606, allocations: 0.6887 MB / 1.037 GB, free: 15.25 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.138e-05/0.2606, allocations: 11.44 kB / 1.037 GB, free: 15.24 MB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/0.2606, allocations: 0 / 1.037 GB, free: 15.24 MB / 0.795 GB Notification: Performance of Templates: time 0.001887/0.2625, allocations: 0.8481 MB / 1.037 GB, free: 14.39 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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