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.001534/0.001534, allocations: 108 kB / 15.61 MB, free: 152 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.001274/0.001274, allocations: 194.9 kB / 16.53 MB, free: 6.699 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.417/1.417, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.909/2.909, allocations: 472.6 MB / 0.7451 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 72.14 kB / 0.912 GB, free: 33.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3662, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.002358/0.3686, allocations: 0.8214 MB / 1.069 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001386/0.3687, allocations: 43.78 kB / 1.069 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.006e-05/0.3688, allocations: 4 kB / 1.069 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.522e-05/0.3689, allocations: 11.86 kB / 1.069 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.804e-05/0.369, allocations: 3.938 kB / 1.069 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.019e-05/0.369, allocations: 19.98 kB / 1.069 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.3692, allocations: 63.78 kB / 1.069 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.3693, allocations: 47.95 kB / 1.069 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.237e-05/0.3694, allocations: 23.86 kB / 1.069 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.078e-05/0.3695, allocations: 27.86 kB / 1.069 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.3695, allocations: 4 kB / 1.069 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.577e-05/0.3695, allocations: 8 kB / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.289e-05/0.3695, allocations: 15.92 kB / 1.069 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.212e-05/0.3696, allocations: 39.69 kB / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.3697, allocations: 64.05 kB / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3697, allocations: 3.984 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3697, allocations: 0 / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.3697, allocations: 4 kB / 1.069 GB, free: 9.234 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.0004633/0.3702, allocations: 379.2 kB / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.3702, allocations: 12.03 kB / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.55e-05/0.3703, allocations: 12.84 kB / 1.07 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.3706, allocations: 192.2 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.3706, allocations: 4.375 kB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.3706, allocations: 8.375 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.3708, allocations: 95.89 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.3708, allocations: 4.125 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.3708, allocations: 7.938 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.3708, allocations: 4 kB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.791e-05/0.3709, allocations: 35.92 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005873/0.3715, allocations: 444.6 kB / 1.071 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.545e-05/0.3716, allocations: 41.19 kB / 1.071 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.701e-05/0.3716, allocations: 17.78 kB / 1.071 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.394e-06/0.3716, allocations: 0 / 1.071 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.3717, allocations: 38.56 kB / 1.071 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.3717, allocations: 0 / 1.071 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0002109/0.3719, allocations: 61.47 kB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.3719, allocations: 77.11 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.3721, allocations: 160.9 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.3721, allocations: 25.7 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.161e-05/0.3722, allocations: 104 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.353e-05/0.3722, allocations: 12.14 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.212e-05/0.3723, allocations: 17.72 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.3724, allocations: 322.8 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.781e-05/0.3725, allocations: 4 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.555e-05/0.3725, allocations: 21.7 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.257e-05/0.3725, allocations: 25.66 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3725, allocations: 4 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.898e-05/0.3726, allocations: 65.53 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.3727, allocations: 4 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3727, allocations: 3.938 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.3727, allocations: 0 / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.152e-05/0.3728, allocations: 8 kB / 1.072 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.3728, allocations: 0 / 1.072 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.495e-05/0.3728, allocations: 11.84 kB / 1.072 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.3728, allocations: 0 / 1.072 GB, free: 6.793 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 9.053e-05/0.3729, allocations: 122.4 kB / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.498e-05/0.373, allocations: 7.906 kB / 1.072 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.621e-05/0.373, allocations: 15.81 kB / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.373, allocations: 0 / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.373, allocations: 0 / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.373, allocations: 3.938 kB / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004837/0.3735, allocations: 466.8 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3736, allocations: 4.062 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.464e-05/0.3736, allocations: 7.984 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3736, allocations: 0 / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.3736, allocations: 0 / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.3736, allocations: 4 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.3736, allocations: 4 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.89e-05/0.3737, allocations: 85.78 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.609e-05/0.3738, allocations: 89 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.3738, allocations: 0 / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.071e-05/0.3738, allocations: 0 / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.649e-05/0.3739, allocations: 3.938 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.3739, allocations: 4 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.129e-05/0.374, allocations: 126.1 kB / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.01e-07/0.374, allocations: 0 / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001913/0.3742, allocations: 7.906 kB / 1.072 GB, free: 5.746 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.000199/0.3744, allocations: 103.3 kB / 1.073 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.311e-05/0.3745, allocations: 19.92 kB / 1.073 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3745, allocations: 0 / 1.073 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.957e-06/0.3745, allocations: 4 kB / 1.073 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/0.3747, allocations: 13.19 kB / 1.073 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003643/0.375, allocations: 171 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.3753, allocations: 0.6924 MB / 1.073 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.486e-05/0.3754, allocations: 12.42 kB / 1.073 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.131e-05/0.3754, allocations: 11.44 kB / 1.073 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3754, allocations: 0 / 1.073 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of Templates: time 0.002851/0.3783, allocations: 444.5 kB / 1.074 GB, free: 4.227 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