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: 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.00145/0.00145, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001912/0.001912, allocations: 196.6 kB / 16.25 MB, free: 6.629 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.398/1.398, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.957/2.957, allocations: 472.6 MB / 0.7448 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 64.12 kB / 0.9116 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.372, allocations: 159.9 MB / 1.068 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.002312/0.3744, allocations: 0.8824 MB / 1.069 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001115/0.3745, allocations: 39.78 kB / 1.069 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.925e-05/0.3746, allocations: 4 kB / 1.069 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.419e-05/0.3746, allocations: 7.922 kB / 1.069 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.257e-05/0.3747, allocations: 7.938 kB / 1.069 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.185e-05/0.3748, allocations: 19.98 kB / 1.069 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.97e-05/0.3749, allocations: 55.86 kB / 1.069 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001694/0.3751, allocations: 39.95 kB / 1.069 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.188e-05/0.3751, allocations: 31.81 kB / 1.069 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.15e-05/0.3752, allocations: 31.83 kB / 1.069 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.387e-05/0.3752, allocations: 8 kB / 1.069 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.063e-05/0.3752, allocations: 4 kB / 1.069 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.162e-05/0.3753, allocations: 15.94 kB / 1.069 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.214e-05/0.3753, allocations: 35.73 kB / 1.069 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.3754, allocations: 64.06 kB / 1.069 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3754, allocations: 0 / 1.069 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3754, allocations: 0 / 1.069 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.3755, allocations: 0 / 1.069 GB, free: 9.469 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.0004787/0.3759, allocations: 387.1 kB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.376, allocations: 8.031 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.4e-05/0.376, allocations: 8.844 kB / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002076/0.3762, allocations: 200.1 kB / 1.07 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.3763, allocations: 4.375 kB / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.3763, allocations: 8.375 kB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.3765, allocations: 93.12 kB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.3765, allocations: 4.188 kB / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.3765, allocations: 11.94 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.3765, allocations: 0 / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.44e-05/0.3766, allocations: 39.92 kB / 1.07 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000529/0.3771, allocations: 432.5 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.307e-05/0.3772, allocations: 49.28 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.667e-05/0.3772, allocations: 21.83 kB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.3773, allocations: 0 / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.3773, allocations: 30.56 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 2.785e-06/0.3773, allocations: 0 / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001754/0.3775, allocations: 69.47 kB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.3775, allocations: 81.05 kB / 1.07 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.3777, allocations: 160.9 kB / 1.07 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.3777, allocations: 29.7 kB / 1.071 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.045e-05/0.3778, allocations: 107.9 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.146e-06/0.3778, allocations: 3.906 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.3778, allocations: 17.72 kB / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.3779, allocations: 327.1 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.514e-05/0.378, allocations: 0 / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.415e-05/0.378, allocations: 25.7 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.592e-05/0.378, allocations: 21.72 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.378, allocations: 0 / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.371e-05/0.3781, allocations: 61.58 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.3781, allocations: 11.98 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.3782, allocations: 3.938 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.3782, allocations: 0 / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.259e-05/0.3782, allocations: 4 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.3783, allocations: 4 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.895e-05/0.3783, allocations: 7.844 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.3783, allocations: 4 kB / 1.071 GB, free: 7.016 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.296e-05/0.3784, allocations: 113.8 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.3784, allocations: 11.94 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.718e-05/0.3785, allocations: 19.8 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.3785, allocations: 0 / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.82e-06/0.3785, allocations: 7.938 kB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.3785, allocations: 0 / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003562/0.3788, allocations: 470.8 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3789, allocations: 0 / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.81e-05/0.3789, allocations: 4 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3789, allocations: 4.062 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.3789, allocations: 0 / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3789, allocations: 0 / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3789, allocations: 0 / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.696e-05/0.379, allocations: 81.83 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.929e-05/0.3791, allocations: 85.02 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.3791, allocations: 15.95 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.98e-05/0.3791, allocations: 0 / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.17e-05/0.3791, allocations: 0 / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-06/0.3791, allocations: 4 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.353e-05/0.3792, allocations: 126.1 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3792, allocations: 0 / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001839/0.3794, allocations: 11.91 kB / 1.072 GB, free: 5.965 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.0001275/0.3795, allocations: 95.25 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.539e-05/0.3796, allocations: 20 kB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3797, allocations: 3.938 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.133e-05/0.3797, allocations: 7.984 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001788/0.3799, allocations: 15.88 kB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003146/0.3802, allocations: 183 kB / 1.072 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.3804, allocations: 0.6963 MB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.203e-05/0.3805, allocations: 4.438 kB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.337e-05/0.3805, allocations: 11.44 kB / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of SimCode: time 3.61e-07/0.3805, allocations: 4 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of Templates: time 0.002457/0.383, allocations: 456.5 kB / 1.073 GB, free: 4.418 MB / 0.8262 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/jenkins/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