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.0007612/0.0007612, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001018/0.001779, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007207/0.0007207, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001468/0.002188, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.009/1.009, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08985/1.098, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.461/2.461, allocations: 446.7 MB / 0.6745 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3043/2.765, allocations: 145.9 MB / 0.817 GB, free: 4.215 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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 1.714e-06/1.714e-06, allocations: 0 / 0.8183 GB, free: 2.895 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.242e-05/2.414e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.891 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.001519/0.001543, allocations: 0.8656 MB / 0.8192 GB, free: 2.023 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 7.293e-05/0.001616, allocations: 39.73 kB / 0.8192 GB, free: 1.984 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.342e-05/0.001649, allocations: 4 kB / 0.8192 GB, free: 1.98 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.422e-05/0.001674, allocations: 11.86 kB / 0.8192 GB, free: 1.969 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.113e-05/0.001705, allocations: 7.922 kB / 0.8192 GB, free: 1.961 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 2.679e-05/0.001731, allocations: 23.92 kB / 0.8192 GB, free: 1.938 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.166e-05/0.001803, allocations: 67.78 kB / 0.8193 GB, free: 1.871 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 7.388e-05/0.001877, allocations: 31.92 kB / 0.8193 GB, free: 1.84 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 6.865e-05/0.001946, allocations: 51.88 kB / 0.8194 GB, free: 1.789 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.211e-05/0.001988, allocations: 11.92 kB / 0.8194 GB, free: 1.777 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.002007, allocations: 4 kB / 0.8194 GB, free: 1.773 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.15e-05/0.002019, allocations: 8 kB / 0.8194 GB, free: 1.766 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.531e-05/0.002034, allocations: 7.938 kB / 0.8194 GB, free: 1.758 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.254e-05/0.002057, allocations: 15.94 kB / 0.8194 GB, free: 1.742 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 8.431e-05/0.002141, allocations: 47.72 kB / 0.8195 GB, free: 1.695 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.33e-05/0.002154, allocations: 3.938 kB / 0.8195 GB, free: 1.691 MB / 0.7917 GB Notification: Performance of FrontEnd: time 7.81e-07/0.002155, allocations: 4 kB / 0.8195 GB, free: 1.688 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.234e-05/0.002167, allocations: 0 / 0.8195 GB, free: 1.688 MB / 0.7917 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.0003411/0.002508, allocations: 292.3 kB / 0.8198 GB, free: 1.375 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.00254, allocations: 8.625 kB / 0.8198 GB, free: 1.367 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.718e-05/0.002567, allocations: 8.938 kB / 0.8198 GB, free: 1.359 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.002691, allocations: 133.7 kB / 0.8199 GB, free: 1.203 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.918e-06/0.002701, allocations: 8.281 kB / 0.8199 GB, free: 1.195 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-06/0.00271, allocations: 8.375 kB / 0.8199 GB, free: 1.188 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.596e-05/0.002806, allocations: 87.86 kB / 0.82 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.453e-06/0.002813, allocations: 192 / 0.82 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.533e-06/0.002819, allocations: 384 / 0.82 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.002824, allocations: 8.375 kB / 0.82 GB, free: 1.082 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.122e-05/0.002855, allocations: 15.94 kB / 0.82 GB, free: 1.066 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003588/0.003214, allocations: 0.5089 MB / 0.8205 GB, free: 0.5273 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 6.504e-05/0.003279, allocations: 169.1 kB / 0.8207 GB, free: 360 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.499e-05/0.003314, allocations: 80.14 kB / 0.8208 GB, free: 276 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.003332, allocations: 75.28 kB / 0.8208 GB, free: 200 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.445e-05/0.003366, allocations: 109.8 kB / 0.8209 GB, free: 80 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=0): time 9.81e-07/0.003367, allocations: 0 / 0.8209 GB, free: 80 kB / 0.7917 GB Notification: Performance of matching and sorting (n=0): time 5.005e-05/0.003417, allocations: 29.64 kB / 0.821 GB, free: 44 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.836e-05/0.003476, allocations: 138.7 kB / 0.8211 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.97e-05/0.003565, allocations: 150 kB / 0.8212 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.001e-06/0.003571, allocations: 29.64 kB / 0.8213 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.841e-05/0.00362, allocations: 119.8 kB / 0.8214 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.448e-06/0.003624, allocations: 0 / 0.8214 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.516e-05/0.003649, allocations: 29.66 kB / 0.8214 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.73e-05/0.003747, allocations: 322.8 kB / 0.8217 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.502e-06/0.003753, allocations: 4 kB / 0.8217 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.886e-05/0.003782, allocations: 58.84 kB / 0.8218 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.173e-05/0.003834, allocations: 70.78 kB / 0.8218 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.003836, allocations: 0 / 0.8218 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.116e-05/0.003917, allocations: 73.73 kB / 0.8219 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.003929, allocations: 12 kB / 0.8219 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.003934, allocations: 0 / 0.8219 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.797e-06/0.003942, allocations: 4 kB / 0.8219 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.402e-05/0.003986, allocations: 12 kB / 0.8219 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.003992, allocations: 7.938 kB / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.335e-05/0.004016, allocations: 11.88 kB / 0.822 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-06/0.00402, allocations: 4 kB / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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 6.442e-05/0.004084, allocations: 193.1 kB / 0.8222 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.232e-05/0.004116, allocations: 101 kB / 0.8222 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.553e-05/0.004152, allocations: 116.8 kB / 0.8224 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-05/0.004191, allocations: 192.2 kB / 0.8225 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.221e-05/0.004234, allocations: 184.2 kB / 0.8227 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-05/0.00427, allocations: 176.3 kB / 0.8229 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.004401, allocations: 337.3 kB / 0.8232 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.981e-05/0.004471, allocations: 101 kB / 0.8233 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.474e-05/0.004496, allocations: 101 kB / 0.8234 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.761e-05/0.004533, allocations: 116.9 kB / 0.8235 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.83e-05/0.004572, allocations: 180.3 kB / 0.8237 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.929e-05/0.004611, allocations: 180.3 kB / 0.8239 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.894e-05/0.00465, allocations: 180.2 kB / 0.824 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-05/0.00469, allocations: 184.3 kB / 0.8242 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.646e-05/0.004787, allocations: 307.7 kB / 0.8245 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.577e-05/0.004832, allocations: 188.2 kB / 0.8247 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.376e-05/0.004876, allocations: 109 kB / 0.8248 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.004917, allocations: 180.3 kB / 0.825 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/0.00494, allocations: 112.9 kB / 0.8251 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.423e-05/0.004964, allocations: 24.83 kB / 0.8251 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.004964, allocations: 0 / 0.8251 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001322/0.005096, allocations: 11.95 kB / 0.8251 GB, free: 11.53 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.61e-05/0.005182, allocations: 159.7 kB / 0.8252 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.135e-05/0.005243, allocations: 32.77 kB / 0.8253 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.005248, allocations: 0 / 0.8253 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.92e-07/0.005249, allocations: 0 / 0.8253 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.005451, allocations: 474.2 kB / 0.8257 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002146/0.005666, allocations: 224.4 kB / 0.8259 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.864e-05/0.005694, allocations: 59.34 kB / 0.826 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.738e-05/0.005722, allocations: 9.234 kB / 0.826 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.753e-05/0.005749, allocations: 55.38 kB / 0.8261 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of SimCode: time 3.31e-07/0.00575, allocations: 0 / 0.8261 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of Templates: time 0.001614/0.007364, allocations: 343.6 kB / 0.8264 GB, free: 10.14 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.365749937482178]