Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.537/1.537, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.206/3.206, allocations: 429.6 MB / 0.673 GB, free: 3.914 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.096e-06/3.096e-06, allocations: 0 / 0.8776 GB, free: 6.523 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 5.012e-05/5.322e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.52 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.00305/0.003103, allocations: 0.8017 MB / 0.8784 GB, free: 5.746 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001819/0.003285, allocations: 35.84 kB / 0.8784 GB, free: 5.711 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.885e-05/0.003364, allocations: 0 / 0.8784 GB, free: 5.711 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.354e-05/0.003417, allocations: 12.36 kB / 0.8784 GB, free: 5.699 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.003546, allocations: 17.41 kB / 0.8784 GB, free: 5.684 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 9.264e-05/0.003639, allocations: 19.97 kB / 0.8785 GB, free: 5.664 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.003802, allocations: 59.78 kB / 0.8785 GB, free: 5.605 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000192/0.003994, allocations: 31.97 kB / 0.8785 GB, free: 5.574 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.004116, allocations: 36.56 kB / 0.8786 GB, free: 5.539 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.645e-05/0.004192, allocations: 19.91 kB / 0.8786 GB, free: 5.52 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.645e-05/0.004218, allocations: 9.344 kB / 0.8786 GB, free: 5.512 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.036e-05/0.004229, allocations: 4 kB / 0.8786 GB, free: 5.508 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.613e-05/0.004255, allocations: 11.94 kB / 0.8786 GB, free: 5.496 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.129e-05/0.004306, allocations: 24.66 kB / 0.8786 GB, free: 5.473 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.004461, allocations: 75.69 kB / 0.8787 GB, free: 5.398 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.004465, allocations: 1.594 kB / 0.8787 GB, free: 5.398 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.62e-07/0.004466, allocations: 0 / 0.8787 GB, free: 5.398 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.004472, allocations: 3.938 kB / 0.8787 GB, free: 5.395 MB / 0.8386 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.0005594/0.005032, allocations: 302 kB / 0.879 GB, free: 5.066 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.005077, allocations: 9.625 kB / 0.879 GB, free: 5.059 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.771e-05/0.005134, allocations: 16.89 kB / 0.879 GB, free: 5.043 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.005385, allocations: 137.5 kB / 0.8792 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.005407, allocations: 8.375 kB / 0.8792 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.005427, allocations: 11.33 kB / 0.8792 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.005654, allocations: 99.88 kB / 0.8793 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.005664, allocations: 192 / 0.8793 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.005679, allocations: 4.375 kB / 0.8793 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.005688, allocations: 4.375 kB / 0.8793 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.425e-05/0.005782, allocations: 35.92 kB / 0.8793 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006223/0.006404, allocations: 356.4 kB / 0.8797 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.834e-05/0.006493, allocations: 37.88 kB / 0.8797 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.21e-05/0.006545, allocations: 27.22 kB / 0.8797 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.712e-06/0.006552, allocations: 0 / 0.8797 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.006586, allocations: 30.56 kB / 0.8798 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.006587, allocations: 4 kB / 0.8798 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0002086/0.006795, allocations: 57.58 kB / 0.8798 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.312e-05/0.006868, allocations: 77.11 kB / 0.8799 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.007024, allocations: 133.8 kB / 0.88 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.007043, allocations: 25.7 kB / 0.88 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.081e-05/0.007134, allocations: 107.9 kB / 0.8801 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.452e-05/0.007148, allocations: 11.95 kB / 0.8802 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/0.007182, allocations: 9.719 kB / 0.8802 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001843/0.007366, allocations: 322.8 kB / 0.8805 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.801e-05/0.007394, allocations: 4.25 kB / 0.8805 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.897e-05/0.007423, allocations: 21.72 kB / 0.8805 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.832e-05/0.007472, allocations: 25.66 kB / 0.8805 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.007473, allocations: 0 / 0.8805 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.486e-05/0.007568, allocations: 65.58 kB / 0.8806 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.007583, allocations: 6.5 kB / 0.8806 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.00759, allocations: 4 kB / 0.8806 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.00761, allocations: 0 / 0.8806 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.378e-05/0.007673, allocations: 8 kB / 0.8806 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.007682, allocations: 8 kB / 0.8806 GB, free: 3.258 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.217e-05/0.007704, allocations: 0 / 0.8806 GB, free: 3.258 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.007711, allocations: 4 kB / 0.8806 GB, free: 3.254 MB / 0.8386 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.000106/0.007817, allocations: 121.8 kB / 0.8807 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.06e-05/0.007858, allocations: 7.953 kB / 0.8807 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.44e-05/0.007882, allocations: 7.469 kB / 0.8807 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.007884, allocations: 0 / 0.8807 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.007888, allocations: 0 / 0.8807 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.007893, allocations: 7.938 kB / 0.8808 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004672/0.008361, allocations: 414.5 kB / 0.8811 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.008362, allocations: 4 kB / 0.8812 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.717e-05/0.008379, allocations: 0 / 0.8812 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.008385, allocations: 4 kB / 0.8812 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.008394, allocations: 3.938 kB / 0.8812 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.008395, allocations: 0 / 0.8812 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.008399, allocations: 3.938 kB / 0.8812 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.008503, allocations: 73.94 kB / 0.8812 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.032e-05/0.008523, allocations: 7.953 kB / 0.8812 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.00854, allocations: 7.938 kB / 0.8813 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.5e-05/0.008565, allocations: 12.05 kB / 0.8813 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.535e-05/0.008581, allocations: 0 / 0.8813 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-06/0.008582, allocations: 0 / 0.8813 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.083e-05/0.008673, allocations: 106.9 kB / 0.8814 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7.1e-08/0.008673, allocations: 0 / 0.8814 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001914/0.008865, allocations: 4 kB / 0.8814 GB, free: 2.41 MB / 0.8386 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.0001386/0.009003, allocations: 99.25 kB / 0.8815 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.902e-05/0.009092, allocations: 19.92 kB / 0.8815 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.009097, allocations: 4 kB / 0.8815 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.085e-05/0.009108, allocations: 8.125 kB / 0.8815 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001633/0.009271, allocations: 0 / 0.8815 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003685/0.00964, allocations: 166.9 kB / 0.8817 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.428e-05/0.009734, allocations: 83.17 kB / 0.8817 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.257e-05/0.009767, allocations: 4 kB / 0.8817 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.496e-05/0.009802, allocations: 12.62 kB / 0.8817 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of SimCode: time 4.21e-07/0.009802, allocations: 0 / 0.8817 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of Templates: time 0.002847/0.01265, allocations: 362.8 kB / 0.8821 GB, free: 1.605 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.192319533089176]