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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 113.9 kB / 17.08 MB, free: 5.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001984/0.001984, allocations: 194.2 kB / 20.03 MB, free: 3.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.089/3.089, allocations: 489.3 MB / 0.7687 GB, free: 3.742 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.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 0.002249/0.002249, allocations: 71.88 kB / 1.103 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.011/1.013, allocations: 163.8 MB / 1.263 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.001953/1.015, allocations: 0.8411 MB / 1.263 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001226/1.016, allocations: 36.98 kB / 1.263 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.57e-05/1.016, allocations: 2.438 kB / 1.263 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.812e-05/1.016, allocations: 9.562 kB / 1.263 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.632e-05/1.016, allocations: 9.328 kB / 1.263 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.501e-05/1.016, allocations: 20.97 kB / 1.263 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001113/1.016, allocations: 61.73 kB / 1.264 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/1.016, allocations: 37.08 kB / 1.264 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.006e-05/1.016, allocations: 29.44 kB / 1.264 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.301e-05/1.016, allocations: 30.38 kB / 1.264 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/1.016, allocations: 6.562 kB / 1.264 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.651e-05/1.016, allocations: 6.312 kB / 1.264 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.244e-05/1.016, allocations: 16.17 kB / 1.264 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.925e-05/1.016, allocations: 36.27 kB / 1.264 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001371/1.016, allocations: 74.08 kB / 1.264 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/1.016, allocations: 8 kB / 1.264 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.064e-06/1.016, allocations: 1.062 kB / 1.264 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.521e-06/1.016, allocations: 0 / 1.264 GB, free: 7.246 MB / 0.9981 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.0003845/1.017, allocations: 380.1 kB / 1.264 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/1.017, allocations: 9.375 kB / 1.264 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.847e-05/1.017, allocations: 10.61 kB / 1.264 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/1.017, allocations: 191.8 kB / 1.264 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/1.017, allocations: 4.031 kB / 1.264 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/1.017, allocations: 9 kB / 1.264 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/1.017, allocations: 103.3 kB / 1.264 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/1.017, allocations: 192 / 1.264 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/1.017, allocations: 4.688 kB / 1.264 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/1.017, allocations: 2.5 kB / 1.264 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.412e-05/1.017, allocations: 39.95 kB / 1.264 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004739/1.018, allocations: 438.3 kB / 1.265 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.64e-05/1.018, allocations: 45.69 kB / 1.265 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.551e-05/1.018, allocations: 16.53 kB / 1.265 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/1.018, allocations: 0.8438 kB / 1.265 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/1.018, allocations: 40.2 kB / 1.265 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.824e-06/1.018, allocations: 8.859 kB / 1.265 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001743/1.018, allocations: 56.58 kB / 1.265 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/1.018, allocations: 78.66 kB / 1.265 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/1.018, allocations: 160.6 kB / 1.265 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.612e-06/1.018, allocations: 25.7 kB / 1.265 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.176e-05/1.019, allocations: 107 kB / 1.265 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.314e-06/1.019, allocations: 6.422 kB / 1.265 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/1.019, allocations: 21.69 kB / 1.265 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.374e-05/1.019, allocations: 320.5 kB / 1.266 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.955e-05/1.019, allocations: 4.328 kB / 1.266 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.125e-05/1.019, allocations: 19.64 kB / 1.266 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.125e-05/1.019, allocations: 26.66 kB / 1.266 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/1.019, allocations: 4.75 kB / 1.266 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.079e-05/1.019, allocations: 61.12 kB / 1.266 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/1.019, allocations: 5.922 kB / 1.266 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/1.019, allocations: 4.75 kB / 1.266 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/1.019, allocations: 1.328 kB / 1.266 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.284e-05/1.019, allocations: 6.609 kB / 1.266 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/1.019, allocations: 0.9688 kB / 1.266 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.106e-05/1.019, allocations: 10.38 kB / 1.266 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/1.019, allocations: 1.719 kB / 1.266 GB, free: 5.16 MB / 0.9981 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 5.427e-05/1.019, allocations: 121.5 kB / 1.266 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.238e-05/1.019, allocations: 8.844 kB / 1.266 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.785e-05/1.019, allocations: 20 kB / 1.266 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/1.019, allocations: 0.8438 kB / 1.266 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/1.019, allocations: 0.6562 kB / 1.266 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/1.019, allocations: 1.453 kB / 1.266 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002919/1.019, allocations: 474.9 kB / 1.266 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/1.019, allocations: 0 / 1.266 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.178e-05/1.02, allocations: 3.797 kB / 1.266 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/1.02, allocations: 5.406 kB / 1.267 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/1.02, allocations: 1.125 kB / 1.267 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/1.02, allocations: 0.7188 kB / 1.267 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.02, allocations: 4.594 kB / 1.267 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.226e-05/1.02, allocations: 81.5 kB / 1.267 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.334e-05/1.02, allocations: 86.77 kB / 1.267 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/1.02, allocations: 5.516 kB / 1.267 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.991e-05/1.02, allocations: 0.8125 kB / 1.267 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.242e-05/1.02, allocations: 1.484 kB / 1.267 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/1.02, allocations: 1.594 kB / 1.267 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.633e-05/1.02, allocations: 121.4 kB / 1.267 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.02, allocations: 0 / 1.267 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001873/1.02, allocations: 11.66 kB / 1.267 GB, free: 4.246 MB / 0.9981 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.0001157/1.02, allocations: 100.2 kB / 1.267 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.98e-05/1.02, allocations: 21.08 kB / 1.267 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.02, allocations: 0 / 1.267 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.404e-05/1.02, allocations: 8.531 kB / 1.267 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001572/1.02, allocations: 8.797 kB / 1.267 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002823/1.021, allocations: 195.9 kB / 1.267 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001172/1.021, allocations: 0.692 MB / 1.268 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.521e-05/1.021, allocations: 11.91 kB / 1.268 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/1.021, allocations: 0 / 1.268 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of Templates: time 0.002863/1.024, allocations: 0.8705 MB / 1.269 GB, free: 3.168 MB / 0.9981 GB " [Timeout remaining time 299] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.633366258814931]