Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.007073/0.007073, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.002288/0.002288, allocations: 192.6 kB / 16.67 MB, free: 5.969 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.446/1.446, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.309/2.309, allocations: 390.2 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 67.89 kB / 0.9509 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015/1.017, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.002264/1.019, allocations: 0.8255 MB / 1.089 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001331/1.019, allocations: 45.25 kB / 1.089 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.731e-05/1.019, allocations: 1.094 kB / 1.089 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.906e-05/1.019, allocations: 14.25 kB / 1.089 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001009/1.019, allocations: 9.141 kB / 1.089 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.653e-05/1.019, allocations: 21.58 kB / 1.089 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001297/1.02, allocations: 58.36 kB / 1.089 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001717/1.02, allocations: 42.02 kB / 1.089 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.549e-05/1.02, allocations: 26.92 kB / 1.089 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.666e-05/1.02, allocations: 34.34 kB / 1.089 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/1.02, allocations: 5.5 kB / 1.089 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.543e-05/1.02, allocations: 6.906 kB / 1.089 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.725e-05/1.02, allocations: 20.8 kB / 1.089 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.85e-05/1.02, allocations: 32.81 kB / 1.089 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001651/1.02, allocations: 70.61 kB / 1.089 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/1.02, allocations: 0 / 1.089 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.395e-06/1.02, allocations: 0 / 1.089 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.112e-05/1.02, allocations: 1.25 kB / 1.089 GB, free: 4.75 MB / 0.8575 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.0004521/1.021, allocations: 388.7 kB / 1.089 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/1.021, allocations: 9.406 kB / 1.089 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.788e-05/1.021, allocations: 10.8 kB / 1.089 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/1.021, allocations: 191.6 kB / 1.09 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/1.021, allocations: 3.719 kB / 1.09 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/1.021, allocations: 9.844 kB / 1.09 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/1.021, allocations: 98.38 kB / 1.09 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/1.021, allocations: 0.9844 kB / 1.09 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/1.021, allocations: 5.25 kB / 1.09 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/1.021, allocations: 1.344 kB / 1.09 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/1.021, allocations: 35.61 kB / 1.09 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005955/1.022, allocations: 443.1 kB / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.588e-05/1.022, allocations: 45 kB / 1.09 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.719e-05/1.022, allocations: 24.97 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.247e-06/1.022, allocations: 4.969 kB / 1.09 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/1.022, allocations: 36.09 kB / 1.09 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/1.022, allocations: 0 / 1.09 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001991/1.022, allocations: 57.78 kB / 1.09 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/1.022, allocations: 78.2 kB / 1.09 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/1.023, allocations: 158.6 kB / 1.091 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/1.023, allocations: 30.39 kB / 1.091 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.384e-05/1.023, allocations: 107.8 kB / 1.091 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.059e-05/1.023, allocations: 5.875 kB / 1.091 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/1.023, allocations: 18.11 kB / 1.091 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.088e-05/1.023, allocations: 323.5 kB / 1.091 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.116e-05/1.023, allocations: 5.047 kB / 1.091 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.362e-05/1.023, allocations: 19.39 kB / 1.091 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.546e-05/1.023, allocations: 30.83 kB / 1.091 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/1.023, allocations: 0 / 1.091 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.397e-05/1.023, allocations: 58.14 kB / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/1.023, allocations: 4.875 kB / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/1.023, allocations: 5.672 kB / 1.091 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/1.023, allocations: 1.219 kB / 1.091 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.406e-05/1.023, allocations: 9.938 kB / 1.091 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/1.023, allocations: 5.547 kB / 1.091 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.217e-05/1.023, allocations: 10.05 kB / 1.091 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/1.023, allocations: 1.281 kB / 1.091 GB, free: 2.656 MB / 0.8575 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.059e-05/1.023, allocations: 113.6 kB / 1.091 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.432e-05/1.023, allocations: 9.219 kB / 1.091 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.418e-05/1.023, allocations: 15.95 kB / 1.091 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/1.023, allocations: 1 kB / 1.091 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/1.023, allocations: 1.125 kB / 1.091 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/1.023, allocations: 1.625 kB / 1.091 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003498/1.024, allocations: 470.5 kB / 1.092 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/1.024, allocations: 0 / 1.092 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.065e-05/1.024, allocations: 4.938 kB / 1.092 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/1.024, allocations: 0 / 1.092 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/1.024, allocations: 4.812 kB / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/1.024, allocations: 1.859 kB / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.024, allocations: 1.094 kB / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.534e-05/1.024, allocations: 87.53 kB / 1.092 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.655e-05/1.024, allocations: 86.73 kB / 1.092 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/1.024, allocations: 2.609 kB / 1.092 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.31e-05/1.024, allocations: 4 kB / 1.092 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.6e-05/1.024, allocations: 6.859 kB / 1.092 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/1.024, allocations: 0.9375 kB / 1.092 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001023/1.024, allocations: 125.2 kB / 1.092 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9.1e-08/1.024, allocations: 0 / 1.092 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000195/1.024, allocations: 11.36 kB / 1.092 GB, free: 1.738 MB / 0.8575 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.0001328/1.024, allocations: 97.42 kB / 1.092 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001134/1.025, allocations: 20.06 kB / 1.092 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.025, allocations: 0 / 1.092 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.35e-05/1.025, allocations: 4.828 kB / 1.092 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001757/1.025, allocations: 20.41 kB / 1.092 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000319/1.025, allocations: 158 kB / 1.092 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/1.025, allocations: 0.6998 MB / 1.093 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.918e-05/1.025, allocations: 6.594 kB / 1.093 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.936e-05/1.025, allocations: 11.41 kB / 1.093 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of SimCode: time 2e-07/1.025, allocations: 4 kB / 1.093 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of Templates: time 0.002913/1.028, allocations: 459 kB / 1.094 GB, free: 16.69 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches