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.001194/0.001194, allocations: 98.8 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.0009843/0.0009842, allocations: 183.2 kB / 16.92 MB, free: 6.895 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.411/1.411, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.822/2.822, allocations: 462.6 MB / 0.737 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003524/0.0003525, allocations: 10.19 kB / 0.9034 GB, free: 36.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3002, allocations: 159.6 MB / 1.059 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.001109/0.3013, allocations: 0.5375 MB / 1.06 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001281/0.3015, allocations: 43.78 kB / 1.06 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.115e-05/0.3015, allocations: 0 / 1.06 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.326e-05/0.3016, allocations: 7.938 kB / 1.06 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.627e-05/0.3017, allocations: 4 kB / 1.06 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.456e-05/0.3017, allocations: 15.98 kB / 1.06 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.863e-05/0.3018, allocations: 67.69 kB / 1.06 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.302, allocations: 43.95 kB / 1.06 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.098e-05/0.3021, allocations: 11.88 kB / 1.06 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.641e-05/0.3021, allocations: 19.86 kB / 1.06 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.3021, allocations: 4 kB / 1.06 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.744e-06/0.3021, allocations: 0 / 1.06 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.003e-05/0.3022, allocations: 15.92 kB / 1.06 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.342e-05/0.3022, allocations: 53.39 kB / 1.06 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.72e-05/0.3023, allocations: 48.16 kB / 1.06 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3023, allocations: 7.938 kB / 1.06 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3023, allocations: 0 / 1.06 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.3024, allocations: 4 kB / 1.06 GB, free: 4.066 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.0004056/0.3028, allocations: 363.3 kB / 1.061 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.3028, allocations: 16.02 kB / 1.061 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.574e-05/0.3029, allocations: 8.844 kB / 1.061 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.3031, allocations: 184.2 kB / 1.061 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.3031, allocations: 8.375 kB / 1.061 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.3031, allocations: 4.375 kB / 1.061 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.3033, allocations: 105.5 kB / 1.061 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.3033, allocations: 192 / 1.061 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.3033, allocations: 7.922 kB / 1.061 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.3033, allocations: 4 kB / 1.061 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.966e-05/0.3034, allocations: 35.92 kB / 1.061 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006632/0.3041, allocations: 440.6 kB / 1.061 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.569e-05/0.3042, allocations: 41.25 kB / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.461e-05/0.3042, allocations: 17.78 kB / 1.061 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.764e-06/0.3042, allocations: 0 / 1.061 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.3043, allocations: 42.55 kB / 1.061 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.3043, allocations: 0 / 1.061 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001731/0.3044, allocations: 53.48 kB / 1.061 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.3045, allocations: 77.11 kB / 1.062 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.3046, allocations: 163.7 kB / 1.062 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.3047, allocations: 25.7 kB / 1.062 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.908e-05/0.3047, allocations: 111.9 kB / 1.062 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.382e-06/0.3047, allocations: 4.25 kB / 1.062 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.483e-05/0.3048, allocations: 13.72 kB / 1.062 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.3049, allocations: 322.8 kB / 1.062 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.535e-05/0.3049, allocations: 3.938 kB / 1.062 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.387e-05/0.305, allocations: 21.72 kB / 1.062 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.323e-05/0.305, allocations: 29.64 kB / 1.062 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.305, allocations: 4 kB / 1.062 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.412e-05/0.3051, allocations: 57.55 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.3051, allocations: 8 kB / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.3052, allocations: 3.938 kB / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.3052, allocations: 0 / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.34e-05/0.3052, allocations: 7.984 kB / 1.062 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.3053, allocations: 4 kB / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.183e-05/0.3053, allocations: 7.844 kB / 1.062 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.3053, allocations: 4 kB / 1.062 GB, free: 1.648 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 7.706e-05/0.3054, allocations: 117.8 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.133e-05/0.3054, allocations: 7.906 kB / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.387e-05/0.3055, allocations: 15.81 kB / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.3055, allocations: 0 / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.3055, allocations: 7.984 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3055, allocations: 0 / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003667/0.3059, allocations: 470.8 kB / 1.063 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3059, allocations: 4 kB / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.975e-05/0.3059, allocations: 4 kB / 1.063 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.3059, allocations: 0 / 1.063 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.3059, allocations: 0 / 1.063 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.614e-06/0.3059, allocations: 0 / 1.063 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3059, allocations: 0 / 1.063 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.941e-05/0.306, allocations: 93.8 kB / 1.063 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.827e-05/0.3061, allocations: 81.02 kB / 1.063 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.3061, allocations: 4 kB / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.966e-05/0.3061, allocations: 96 / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.489e-05/0.3062, allocations: 7.969 kB / 1.063 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-06/0.3062, allocations: 0 / 1.063 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.572e-05/0.3063, allocations: 126.1 kB / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3063, allocations: 0 / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001966/0.3065, allocations: 11.91 kB / 1.063 GB, free: 0.6055 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.000112/0.3066, allocations: 99.28 kB / 1.063 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.772e-05/0.3067, allocations: 19.94 kB / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3067, allocations: 3.938 kB / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.189e-05/0.3067, allocations: 4 kB / 1.063 GB, free: 484 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001628/0.3069, allocations: 11.94 kB / 1.063 GB, free: 472 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003538/0.3072, allocations: 210.5 kB / 1.064 GB, free: 216 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.3075, allocations: 0.6887 MB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.404e-05/0.3076, allocations: 11.44 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3076, allocations: 4 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of Templates: time 0.002277/0.3099, allocations: 0.8442 MB / 1.065 GB, free: 14.63 MB / 0.8262 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