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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001162/0.001162, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001453/0.001454, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.561/2.561, allocations: 390.9 MB / 0.666 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005153/0.0005154, allocations: 8 kB / 0.8154 GB, free: 13.62 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8108/0.8113, allocations: 142.4 MB / 0.9544 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.001278/0.8126, allocations: 0.5193 MB / 0.9549 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002052/0.8129, allocations: 44.53 kB / 0.955 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.619e-05/0.813, allocations: 1.312 kB / 0.955 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.877e-05/0.813, allocations: 9.547 kB / 0.955 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001143/0.8131, allocations: 3.938 kB / 0.955 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.691e-05/0.8132, allocations: 8.406 kB / 0.955 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.8134, allocations: 57.22 kB / 0.9551 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002141/0.8136, allocations: 33.69 kB / 0.9551 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.79e-05/0.8137, allocations: 13.66 kB / 0.9551 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.611e-05/0.8138, allocations: 23.88 kB / 0.9551 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.8138, allocations: 2.25 kB / 0.9551 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.153e-05/0.8139, allocations: 1.281 kB / 0.9551 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.972e-05/0.8139, allocations: 10.91 kB / 0.9551 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.846e-05/0.8139, allocations: 40.52 kB / 0.9552 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001117/0.814, allocations: 49.94 kB / 0.9552 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.8141, allocations: 4.938 kB / 0.9552 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.308e-06/0.8141, allocations: 0 / 0.9552 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.426e-05/0.8141, allocations: 3.938 kB / 0.9552 GB, free: 7.078 MB / 0.7169 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.0005479/0.8146, allocations: 365 kB / 0.9556 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.26e-05/0.8147, allocations: 8.844 kB / 0.9556 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.412e-05/0.8148, allocations: 16.36 kB / 0.9556 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.8151, allocations: 196.9 kB / 0.9558 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.8151, allocations: 7.547 kB / 0.9558 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.8151, allocations: 12.72 kB / 0.9558 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002455/0.8154, allocations: 84.61 kB / 0.9559 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.8154, allocations: 0 / 0.9559 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.8154, allocations: 5.219 kB / 0.9559 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.8155, allocations: 2.281 kB / 0.9559 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.8156, allocations: 42.38 kB / 0.9559 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006936/0.8163, allocations: 434.6 kB / 0.9564 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.195e-05/0.8164, allocations: 40.64 kB / 0.9564 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.607e-05/0.8164, allocations: 19.72 kB / 0.9564 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.8164, allocations: 5.062 kB / 0.9564 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.8165, allocations: 31.59 kB / 0.9564 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 2.024e-06/0.8165, allocations: 0 / 0.9564 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002604/0.8167, allocations: 54.48 kB / 0.9565 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.8168, allocations: 82.47 kB / 0.9566 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.817, allocations: 155.8 kB / 0.9567 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.817, allocations: 29.94 kB / 0.9568 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.423e-05/0.8171, allocations: 107.8 kB / 0.9569 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.16e-05/0.8171, allocations: 13.77 kB / 0.9569 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-06/0.8171, allocations: 0 / 0.9569 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.487e-05/0.8172, allocations: 321.3 kB / 0.9572 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.987e-05/0.8172, allocations: 2.75 kB / 0.9572 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.692e-05/0.8173, allocations: 27.02 kB / 0.9572 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.08e-05/0.8173, allocations: 12.09 kB / 0.9572 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.8173, allocations: 0 / 0.9572 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.905e-05/0.8174, allocations: 51.58 kB / 0.9573 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.8175, allocations: 9.703 kB / 0.9573 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.8175, allocations: 7.938 kB / 0.9573 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.8175, allocations: 5.531 kB / 0.9573 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.847e-05/0.8176, allocations: 5.438 kB / 0.9573 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.8176, allocations: 0 / 0.9573 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.022e-05/0.8177, allocations: 10.31 kB / 0.9573 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.8177, allocations: 1.219 kB / 0.9573 GB, free: 4.961 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.985e-05/0.8178, allocations: 121.3 kB / 0.9574 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.838e-05/0.8178, allocations: 8.75 kB / 0.9574 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.684e-05/0.8179, allocations: 10.17 kB / 0.9574 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.8179, allocations: 1.25 kB / 0.9574 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/0.8179, allocations: 1.188 kB / 0.9574 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.8179, allocations: 0 / 0.9574 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000375/0.8183, allocations: 478.1 kB / 0.9579 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.8183, allocations: 1.406 kB / 0.9579 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.368e-05/0.8183, allocations: 2.375 kB / 0.9579 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.8183, allocations: 1.25 kB / 0.9579 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.8184, allocations: 1.094 kB / 0.9579 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.8184, allocations: 0 / 0.9579 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.8184, allocations: 1.469 kB / 0.9579 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.548e-05/0.8185, allocations: 85.38 kB / 0.958 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.865e-05/0.8185, allocations: 92.53 kB / 0.9581 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.8185, allocations: 0.625 kB / 0.9581 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.991e-05/0.8186, allocations: 1.469 kB / 0.9581 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.871e-05/0.8186, allocations: 1.5 kB / 0.9581 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-06/0.8186, allocations: 1.5 kB / 0.9581 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.925e-05/0.8187, allocations: 119.2 kB / 0.9582 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8187, allocations: 1.469 kB / 0.9582 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002141/0.8189, allocations: 18.33 kB / 0.9582 GB, free: 4.012 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001206/0.819, allocations: 104.2 kB / 0.9583 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.89e-05/0.8191, allocations: 18.03 kB / 0.9583 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.8191, allocations: 0 / 0.9583 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.2e-05/0.8191, allocations: 4.312 kB / 0.9583 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000175/0.8193, allocations: 13.14 kB / 0.9583 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003646/0.8197, allocations: 181.8 kB / 0.9585 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/0.8198, allocations: 0.6918 MB / 0.9592 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.824e-05/0.8199, allocations: 16.72 kB / 0.9592 GB, free: 3 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.275e-05/0.8199, allocations: 10.12 kB / 0.9592 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.8199, allocations: 1 kB / 0.9592 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of Templates: time 0.003064/0.823, allocations: 426 kB / 0.9596 GB, free: 2.773 MB / 0.7169 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