Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001862/0.001862, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002206/0.002206, allocations: 193.9 kB / 16.25 MB, free: 6.621 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.614/1.614, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.962/2.962, allocations: 437 MB / 0.7101 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 75.88 kB / 0.8688 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8172/0.8193, allocations: 151.6 MB / 1.017 GB, free: 2.832 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.002197/0.8215, allocations: 0.8857 MB / 1.018 GB, free: 1.949 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000116/0.8216, allocations: 39.78 kB / 1.018 GB, free: 1.91 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.231e-05/0.8217, allocations: 0 / 1.018 GB, free: 1.91 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.6e-05/0.8218, allocations: 7.922 kB / 1.018 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.744e-05/0.8219, allocations: 7.938 kB / 1.018 GB, free: 1.895 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.482e-05/0.8219, allocations: 12 kB / 1.018 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.822, allocations: 59.84 kB / 1.018 GB, free: 1.824 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.8222, allocations: 51.95 kB / 1.018 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.819e-05/0.8223, allocations: 31.8 kB / 1.018 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.266e-05/0.8223, allocations: 23.86 kB / 1.018 GB, free: 1.719 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.8223, allocations: 4 kB / 1.018 GB, free: 1.715 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.196e-05/0.8224, allocations: 12 kB / 1.018 GB, free: 1.703 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.051e-05/0.8224, allocations: 11.92 kB / 1.018 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 9.56e-05/0.8225, allocations: 35.8 kB / 1.018 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.8226, allocations: 73.81 kB / 1.018 GB, free: 1.586 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.8226, allocations: 3.938 kB / 1.018 GB, free: 1.582 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.004e-06/0.8226, allocations: 4 kB / 1.018 GB, free: 1.578 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.308e-06/0.8226, allocations: 0 / 1.018 GB, free: 1.578 MB / 0.7637 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.0005469/0.8232, allocations: 379.1 kB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.8232, allocations: 12.03 kB / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.716e-05/0.8233, allocations: 12.84 kB / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/0.8235, allocations: 188.2 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.8236, allocations: 8.375 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.8236, allocations: 8.375 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.8238, allocations: 94.36 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.8238, allocations: 192 / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/0.8238, allocations: 11.92 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.8238, allocations: 4 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.824, allocations: 43.92 kB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005727/0.8246, allocations: 432.5 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 6.153e-05/0.8246, allocations: 41.34 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.583e-05/0.8247, allocations: 21.78 kB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 7.795e-06/0.8247, allocations: 0 / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.8247, allocations: 38.55 kB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.8247, allocations: 0 / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0001759/0.8249, allocations: 53.48 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.865e-05/0.825, allocations: 85.3 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.8252, allocations: 162.2 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.8252, allocations: 25.7 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.459e-05/0.8253, allocations: 107.9 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.055e-06/0.8253, allocations: 7.906 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/0.8253, allocations: 17.72 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.8255, allocations: 318.8 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.672e-05/0.8255, allocations: 4 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.635e-05/0.8256, allocations: 25.7 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.594e-05/0.8256, allocations: 25.72 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.8256, allocations: 4 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.409e-05/0.8257, allocations: 53.55 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.8257, allocations: 4 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.8257, allocations: 3.938 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.8258, allocations: 8.062 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.23e-05/0.8258, allocations: 7.984 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.8258, allocations: 0 / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.87e-05/0.8259, allocations: 4 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-06/0.8259, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 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.0001859/0.8261, allocations: 122.2 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.371e-05/0.8261, allocations: 11.81 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.178e-05/0.8262, allocations: 19.89 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.8262, allocations: 3.984 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.8262, allocations: 4 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.8262, allocations: 0 / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004848/0.8267, allocations: 470.8 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.8267, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.177e-05/0.8267, allocations: 4 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.8267, allocations: 3.938 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.8267, allocations: 4 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.8267, allocations: 4.062 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.8267, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.8269, allocations: 77.83 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.477e-05/0.8269, allocations: 92.95 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.827, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.369e-05/0.827, allocations: 11.92 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.96e-05/0.827, allocations: 8.031 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.827, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001005/0.8271, allocations: 122.5 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8271, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000188/0.8273, allocations: 8 kB / 1.021 GB, free: 14.09 MB / 0.7794 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.0001352/0.8275, allocations: 95.25 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.333e-05/0.8276, allocations: 16 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.8276, allocations: 128 / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.35e-05/0.8276, allocations: 15.94 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00017/0.8278, allocations: 19.86 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003448/0.8281, allocations: 177.3 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.8285, allocations: 0.6885 MB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.352e-05/0.8286, allocations: 8.422 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.807e-05/0.8286, allocations: 11.44 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of SimCode: time 3.7e-07/0.8286, allocations: 0 / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of Templates: time 0.00292/0.8315, allocations: 452.5 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches