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.001227/0.001227, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001479/0.001479, allocations: 194.5 kB / 16.25 MB, free: 6.633 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.457/1.457, 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 9.1.3-maint.9.1.x/package.mo): time 2.487/2.487, allocations: 390.2 MB / 0.6643 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002201/0.002201, allocations: 67.89 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8943/0.8965, allocations: 140.3 MB / 0.9491 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.002022/0.8986, allocations: 0.8898 MB / 0.95 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.929e-05/0.8987, allocations: 49.91 kB / 0.95 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.81e-05/0.8988, allocations: 5.219 kB / 0.95 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.828e-05/0.8988, allocations: 3.938 kB / 0.95 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.302e-05/0.8989, allocations: 5.375 kB / 0.95 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.099e-05/0.8989, allocations: 14.77 kB / 0.95 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.874e-05/0.899, allocations: 55.61 kB / 0.9501 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.8992, allocations: 44.45 kB / 0.9501 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.098e-05/0.8992, allocations: 24.66 kB / 0.9502 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.01e-05/0.8993, allocations: 32.03 kB / 0.9502 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.8993, allocations: 6.812 kB / 0.9502 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.22e-05/0.8993, allocations: 6.781 kB / 0.9502 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.525e-05/0.8993, allocations: 17.59 kB / 0.9502 GB, free: 8.219 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.038e-05/0.8994, allocations: 33.56 kB / 0.9503 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.227e-05/0.8994, allocations: 74.53 kB / 0.9503 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.8995, allocations: 1.656 kB / 0.9503 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8995, allocations: 0 / 0.9503 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.8995, allocations: 0 / 0.9503 GB, free: 8.133 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.0003091/0.8998, allocations: 378 kB / 0.9507 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.8998, allocations: 10.03 kB / 0.9507 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.906e-05/0.8999, allocations: 9.406 kB / 0.9507 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.9, allocations: 189.7 kB / 0.9509 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.9, allocations: 12.31 kB / 0.9509 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.9, allocations: 8.594 kB / 0.9509 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.9002, allocations: 92.14 kB / 0.951 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.9002, allocations: 192 / 0.951 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.9002, allocations: 9.312 kB / 0.951 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.9002, allocations: 1.375 kB / 0.951 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.595e-05/0.9003, allocations: 36.55 kB / 0.951 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003936/0.9007, allocations: 440.6 kB / 0.9515 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.826e-05/0.9007, allocations: 41.3 kB / 0.9515 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.946e-05/0.9008, allocations: 19.22 kB / 0.9515 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.963e-06/0.9008, allocations: 5.375 kB / 0.9515 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.386e-05/0.9008, allocations: 31.94 kB / 0.9516 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.183e-06/0.9008, allocations: 3.938 kB / 0.9516 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001474/0.901, allocations: 55.23 kB / 0.9516 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.583e-05/0.901, allocations: 81.09 kB / 0.9517 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.9011, allocations: 159.6 kB / 0.9518 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.016e-06/0.9011, allocations: 27.33 kB / 0.9519 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.929e-05/0.9012, allocations: 115.9 kB / 0.952 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.055e-06/0.9012, allocations: 9.281 kB / 0.952 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.682e-05/0.9012, allocations: 16.45 kB / 0.952 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.426e-05/0.9013, allocations: 317.6 kB / 0.9523 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.752e-05/0.9013, allocations: 10.73 kB / 0.9523 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.667e-05/0.9013, allocations: 19.16 kB / 0.9523 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.297e-05/0.9013, allocations: 29.97 kB / 0.9524 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.9014, allocations: 4 kB / 0.9524 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.756e-05/0.9014, allocations: 59.41 kB / 0.9524 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.9014, allocations: 5.5 kB / 0.9524 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.9015, allocations: 5.312 kB / 0.9524 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.9015, allocations: 0 / 0.9524 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.75e-05/0.9015, allocations: 5.5 kB / 0.9524 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.9015, allocations: 1.375 kB / 0.9524 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.765e-05/0.9016, allocations: 9.438 kB / 0.9524 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-06/0.9016, allocations: 1.375 kB / 0.9524 GB, free: 5.965 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.7e-05/0.9016, allocations: 110 kB / 0.9526 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.944e-05/0.9017, allocations: 12.03 kB / 0.9526 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.935e-05/0.9017, allocations: 14.55 kB / 0.9526 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.9017, allocations: 1.375 kB / 0.9526 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.9017, allocations: 0 / 0.9526 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.9017, allocations: 1.375 kB / 0.9526 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002594/0.902, allocations: 478.2 kB / 0.953 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.902, allocations: 0 / 0.953 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.782e-05/0.902, allocations: 4.062 kB / 0.953 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.902, allocations: 0 / 0.953 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.331e-06/0.902, allocations: 5.094 kB / 0.953 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.902, allocations: 5.391 kB / 0.953 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.902, allocations: 0 / 0.953 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.986e-05/0.9021, allocations: 78.5 kB / 0.9531 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.284e-05/0.9021, allocations: 96.38 kB / 0.9532 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.9022, allocations: 1.312 kB / 0.9532 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.021e-05/0.9022, allocations: 0 / 0.9532 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.032e-05/0.9022, allocations: 5.734 kB / 0.9532 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.9022, allocations: 1.438 kB / 0.9532 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.228e-05/0.9023, allocations: 124 kB / 0.9533 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9023, allocations: 4.031 kB / 0.9533 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001962/0.9025, allocations: 10.5 kB / 0.9534 GB, free: 5.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.904e-05/0.9026, allocations: 105.4 kB / 0.9535 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.744e-05/0.9027, allocations: 17.73 kB / 0.9535 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.9027, allocations: 1.375 kB / 0.9535 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.053e-05/0.9027, allocations: 7.594 kB / 0.9535 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001567/0.9029, allocations: 11.09 kB / 0.9535 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000261/0.9031, allocations: 181.6 kB / 0.9537 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.9032, allocations: 0.7014 MB / 0.9543 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.176e-05/0.9033, allocations: 5.531 kB / 0.9544 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.082e-05/0.9033, allocations: 11.25 kB / 0.9544 GB, free: 4 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.9033, allocations: 0 / 0.9544 GB, free: 4 MB / 0.7169 GB Notification: Performance of Templates: time 0.002284/0.9056, allocations: 452.7 kB / 0.9548 GB, free: 3.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