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 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.To_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000772/0.000772, allocations: 98.88 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.0007886/0.0007886, allocations: 181.6 kB / 16.92 MB, free: 6.914 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.296/1.296, 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.477/2.477, allocations: 443.2 MB / 0.7181 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003197/0.0003197, allocations: 12.38 kB / 0.8801 GB, free: 42.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.252, allocations: 155.2 MB / 1.032 GB, free: 4.77 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.0009187/0.253, allocations: 0.5502 MB / 1.032 GB, free: 4.223 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 9.872e-05/0.2531, allocations: 39.78 kB / 1.032 GB, free: 4.184 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.518e-05/0.2531, allocations: 8 kB / 1.032 GB, free: 4.176 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.03e-05/0.2532, allocations: 3.938 kB / 1.032 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.614e-05/0.2532, allocations: 3.984 kB / 1.032 GB, free: 4.168 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 3.974e-05/0.2533, allocations: 19.98 kB / 1.032 GB, free: 4.148 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.391e-05/0.2534, allocations: 55.78 kB / 1.032 GB, free: 4.094 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.2535, allocations: 39.97 kB / 1.032 GB, free: 4.055 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.572e-05/0.2536, allocations: 19.88 kB / 1.032 GB, free: 4.035 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.088e-05/0.2536, allocations: 19.86 kB / 1.032 GB, free: 4.016 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.2536, allocations: 0 / 1.032 GB, free: 4.016 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.554e-06/0.2536, allocations: 4 kB / 1.032 GB, free: 4.012 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.546e-05/0.2537, allocations: 7.875 kB / 1.032 GB, free: 4.004 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.472e-05/0.2537, allocations: 53.5 kB / 1.032 GB, free: 3.945 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.738e-05/0.2538, allocations: 56.09 kB / 1.032 GB, free: 3.891 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2538, allocations: 0 / 1.032 GB, free: 3.891 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.422e-06/0.2538, allocations: 4 kB / 1.032 GB, free: 3.887 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.2538, allocations: 0 / 1.032 GB, free: 3.887 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.0003532/0.2542, allocations: 371.2 kB / 1.033 GB, free: 3.473 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.2542, allocations: 8.031 kB / 1.033 GB, free: 3.465 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.338e-05/0.2543, allocations: 8.844 kB / 1.033 GB, free: 3.457 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.2544, allocations: 192.2 kB / 1.033 GB, free: 3.23 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.2545, allocations: 4.375 kB / 1.033 GB, free: 3.227 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.2545, allocations: 8.375 kB / 1.033 GB, free: 3.219 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.2546, allocations: 91.89 kB / 1.033 GB, free: 3.117 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.2547, allocations: 4.188 kB / 1.033 GB, free: 3.113 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.2547, allocations: 11.94 kB / 1.033 GB, free: 3.102 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.2547, allocations: 0 / 1.033 GB, free: 3.102 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.306e-05/0.2548, allocations: 43.86 kB / 1.033 GB, free: 3.059 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004807/0.2552, allocations: 440.6 kB / 1.034 GB, free: 2.574 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.995e-05/0.2553, allocations: 41.19 kB / 1.034 GB, free: 2.516 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.418e-05/0.2553, allocations: 17.84 kB / 1.034 GB, free: 2.492 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.063e-06/0.2554, allocations: 0 / 1.034 GB, free: 2.492 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.2554, allocations: 38.56 kB / 1.034 GB, free: 2.445 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.2554, allocations: 0 / 1.034 GB, free: 2.445 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001663/0.2556, allocations: 61.47 kB / 1.034 GB, free: 2.379 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.2556, allocations: 77.11 kB / 1.034 GB, free: 2.285 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.2558, allocations: 168 kB / 1.034 GB, free: 2.113 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.2558, allocations: 25.7 kB / 1.034 GB, free: 2.082 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.461e-05/0.2558, allocations: 104.3 kB / 1.034 GB, free: 1.977 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.114e-06/0.2558, allocations: 3.906 kB / 1.034 GB, free: 1.973 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.017e-05/0.2559, allocations: 13.72 kB / 1.034 GB, free: 1.953 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.405e-05/0.256, allocations: 318.8 kB / 1.034 GB, free: 1.633 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.58e-05/0.256, allocations: 8 kB / 1.034 GB, free: 1.625 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.106e-05/0.256, allocations: 13.72 kB / 1.034 GB, free: 1.605 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.783e-05/0.2561, allocations: 33.66 kB / 1.034 GB, free: 1.566 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.2561, allocations: 4 kB / 1.034 GB, free: 1.562 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.498e-05/0.2561, allocations: 57.53 kB / 1.035 GB, free: 1.5 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.2562, allocations: 4 kB / 1.035 GB, free: 1.496 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.2562, allocations: 3.938 kB / 1.035 GB, free: 1.492 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.2562, allocations: 7.938 kB / 1.035 GB, free: 1.484 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.433e-05/0.2563, allocations: 4 kB / 1.035 GB, free: 1.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.2563, allocations: 0 / 1.035 GB, free: 1.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.193e-05/0.2563, allocations: 15.84 kB / 1.035 GB, free: 1.465 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-06/0.2563, allocations: 0 / 1.035 GB, free: 1.465 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.893e-05/0.2564, allocations: 123.4 kB / 1.035 GB, free: 1.336 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.146e-05/0.2564, allocations: 7.906 kB / 1.035 GB, free: 1.328 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.078e-05/0.2565, allocations: 11.81 kB / 1.035 GB, free: 1.316 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.2565, allocations: 0 / 1.035 GB, free: 1.316 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.2565, allocations: 0 / 1.035 GB, free: 1.316 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.2565, allocations: 96 / 1.035 GB, free: 1.316 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000326/0.2568, allocations: 475.1 kB / 1.035 GB, free: 0.7891 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.2568, allocations: 3.984 kB / 1.035 GB, free: 0.7852 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.867e-05/0.2568, allocations: 7.984 kB / 1.035 GB, free: 0.7773 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.2568, allocations: 0 / 1.035 GB, free: 0.7773 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.2569, allocations: 4 kB / 1.035 GB, free: 0.7734 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.2569, allocations: 0 / 1.035 GB, free: 0.7734 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.2569, allocations: 3.938 kB / 1.035 GB, free: 0.7695 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.247e-05/0.2569, allocations: 81.84 kB / 1.035 GB, free: 0.668 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.35e-05/0.257, allocations: 93 kB / 1.035 GB, free: 0.5586 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.257, allocations: 0 / 1.035 GB, free: 0.5586 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.893e-05/0.257, allocations: 0 / 1.035 GB, free: 0.5586 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.106e-05/0.2571, allocations: 4 kB / 1.035 GB, free: 0.5547 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-06/0.2571, allocations: 0 / 1.035 GB, free: 0.5547 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.911e-05/0.2571, allocations: 120.9 kB / 1.035 GB, free: 448 kB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2571, allocations: 0 / 1.035 GB, free: 448 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000179/0.2573, allocations: 11.91 kB / 1.035 GB, free: 436 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 9.048e-05/0.2574, allocations: 109.5 kB / 1.036 GB, free: 316 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.747e-05/0.2575, allocations: 15.94 kB / 1.036 GB, free: 300 kB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2575, allocations: 0 / 1.036 GB, free: 300 kB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.798e-06/0.2575, allocations: 8 kB / 1.036 GB, free: 292 kB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001461/0.2577, allocations: 7.938 kB / 1.036 GB, free: 284 kB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002755/0.258, allocations: 214.4 kB / 1.036 GB, free: 20 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.2582, allocations: 0.6926 MB / 1.037 GB, free: 15.3 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.118e-05/0.2582, allocations: 11.44 kB / 1.037 GB, free: 15.29 MB / 0.795 GB Notification: Performance of SimCode: time 3.5e-07/0.2582, allocations: 4 kB / 1.037 GB, free: 15.29 MB / 0.795 GB Notification: Performance of Templates: time 0.00194/0.2602, allocations: 0.8481 MB / 1.037 GB, free: 14.44 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches