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.001342/0.001342, allocations: 100.1 kB / 15.88 MB, free: 12 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.001774/0.001774, allocations: 198.4 kB / 16.79 MB, free: 6.809 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.481/1.481, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.664/2.664, allocations: 461.8 MB / 0.7348 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 64.81 kB / 0.899 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3492, allocations: 157.4 MB / 1.053 GB, free: 8.316 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.002404/0.3516, allocations: 0.8764 MB / 1.054 GB, free: 7.438 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001546/0.3518, allocations: 43.78 kB / 1.054 GB, free: 7.395 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.684e-05/0.3519, allocations: 0 / 1.054 GB, free: 7.395 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.702e-05/0.352, allocations: 7.922 kB / 1.054 GB, free: 7.387 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.3521, allocations: 11.94 kB / 1.054 GB, free: 7.375 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.271e-05/0.3522, allocations: 11.98 kB / 1.054 GB, free: 7.363 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.3523, allocations: 59.77 kB / 1.054 GB, free: 7.305 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001676/0.3524, allocations: 39.97 kB / 1.054 GB, free: 7.266 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.378e-05/0.3525, allocations: 23.86 kB / 1.054 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.711e-05/0.3526, allocations: 27.84 kB / 1.054 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.3526, allocations: 4 kB / 1.054 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.325e-05/0.3526, allocations: 4 kB / 1.054 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.547e-05/0.3527, allocations: 19.86 kB / 1.054 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.742e-05/0.3527, allocations: 35.73 kB / 1.054 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.3528, allocations: 48.19 kB / 1.054 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3528, allocations: 4 kB / 1.054 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.012e-06/0.3528, allocations: 0 / 1.054 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.3528, allocations: 0 / 1.054 GB, free: 7.102 MB / 0.8106 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.0005402/0.3534, allocations: 379.3 kB / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.3535, allocations: 8.031 kB / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.157e-05/0.3535, allocations: 12.78 kB / 1.054 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.3538, allocations: 196.2 kB / 1.054 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.3538, allocations: 8.312 kB / 1.055 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.3538, allocations: 16.36 kB / 1.055 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.354, allocations: 89.27 kB / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.354, allocations: 192 / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.354, allocations: 11.94 kB / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.3541, allocations: 0 / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.32e-05/0.3542, allocations: 39.92 kB / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006153/0.3548, allocations: 440.6 kB / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.306e-05/0.3548, allocations: 37.19 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.978e-05/0.3549, allocations: 21.84 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.3549, allocations: 0 / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.3549, allocations: 34.56 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.3549, allocations: 0 / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001774/0.3551, allocations: 61.47 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.769e-05/0.3552, allocations: 81.11 kB / 1.055 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.3553, allocations: 161.7 kB / 1.055 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.3554, allocations: 25.7 kB / 1.055 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.657e-05/0.3555, allocations: 112.2 kB / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.125e-06/0.3555, allocations: 3.906 kB / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.864e-05/0.3555, allocations: 17.72 kB / 1.056 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.3556, allocations: 322.8 kB / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.709e-05/0.3557, allocations: 0 / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.596e-05/0.3557, allocations: 25.66 kB / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.38e-05/0.3557, allocations: 29.66 kB / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3558, allocations: 0 / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.097e-05/0.3558, allocations: 61.53 kB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.3559, allocations: 8 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.3559, allocations: 3.938 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.3559, allocations: 0 / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.062e-05/0.356, allocations: 4 kB / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.356, allocations: 11.97 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.63e-05/0.356, allocations: 7.844 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.356, allocations: 4.062 kB / 1.056 GB, free: 4.652 MB / 0.8106 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 0.0001004/0.3562, allocations: 113.8 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.724e-05/0.3562, allocations: 7.906 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.004e-05/0.3562, allocations: 15.81 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3562, allocations: 0 / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.3563, allocations: 4 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.3563, allocations: 3.938 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004233/0.3567, allocations: 474.8 kB / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3567, allocations: 0 / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.963e-05/0.3567, allocations: 0 / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.3567, allocations: 4 kB / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.3568, allocations: 3.938 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.3568, allocations: 4 kB / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3568, allocations: 0 / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.222e-05/0.3569, allocations: 85.89 kB / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.202e-05/0.3569, allocations: 85.02 kB / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.357, allocations: 0 / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.056e-05/0.357, allocations: 4 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.258e-05/0.357, allocations: 0 / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.357, allocations: 0 / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.101e-05/0.3571, allocations: 125.9 kB / 1.057 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3571, allocations: 0 / 1.057 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002138/0.3573, allocations: 8.031 kB / 1.057 GB, free: 3.621 MB / 0.8106 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.0001385/0.3575, allocations: 107.2 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.928e-05/0.3576, allocations: 16 kB / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3576, allocations: 0 / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.377e-05/0.3576, allocations: 7.938 kB / 1.057 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/0.3578, allocations: 15.88 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003634/0.3582, allocations: 210.5 kB / 1.057 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/0.3585, allocations: 0.6926 MB / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.882e-05/0.3585, allocations: 15.44 kB / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of SimCode: time 4.11e-07/0.3585, allocations: 0 / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of Templates: time 0.002353/0.3609, allocations: 0.8521 MB / 1.059 GB, free: 1.633 MB / 0.8106 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