Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.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.002349/0.002349, allocations: 81.5 kB / 19.44 MB, free: 344 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.002723/0.002723, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.523/1.523, 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.334/3.334, allocations: 429.5 MB / 0.6729 GB, free: 4.004 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.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pow_2dat.V_flow|pow_1dat.V_flow|pow_V_flow.V_flow|pow_m_flow.V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pow_2dat.V_flow|pow_1dat.V_flow|pow_V_flow.V_flow|pow_m_flow.V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 0.8774 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.138e-05/2.264e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.641/0.6411, allocations: 189.8 MB / 1.063 GB, free: 47.62 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.004939/0.646, allocations: 4.261 MB / 1.067 GB, free: 47.61 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003773/0.6464, allocations: 26.5 kB / 1.067 GB, free: 47.61 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0009431/0.6473, allocations: 469.8 kB / 1.067 GB, free: 47.6 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.002709/0.65, allocations: 1.675 MB / 1.069 GB, free: 47.53 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002536/0.6526, allocations: 1.433 MB / 1.07 GB, free: 47.48 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001427/0.654, allocations: 1.687 MB / 1.072 GB, free: 47.48 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008753/0.6549, allocations: 0.9155 MB / 1.073 GB, free: 47.4 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001541/0.6564, allocations: 1.377 MB / 1.074 GB, free: 47.29 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008586/0.6573, allocations: 0.8046 MB / 1.075 GB, free: 47.23 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001499/0.6574, allocations: 103.6 kB / 1.075 GB, free: 47.23 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001567/0.659, allocations: 1.154 MB / 1.076 GB, free: 47.11 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002623/0.6592, allocations: 396.1 kB / 1.077 GB, free: 47.06 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0003718/0.6596, allocations: 411.2 kB / 1.077 GB, free: 47.02 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001675/0.6613, allocations: 1.829 MB / 1.079 GB, free: 46.88 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.6613, allocations: 0 / 1.079 GB, free: 46.88 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6613, allocations: 1.031 kB / 1.079 GB, free: 46.88 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.221e-05/0.6613, allocations: 0 / 1.079 GB, free: 46.88 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.00227/0.6636, allocations: 1.341 MB / 1.08 GB, free: 46.14 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 2.845e-05/0.6636, allocations: 8.188 kB / 1.08 GB, free: 46.14 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003101/0.6667, allocations: 0.5312 MB / 1.081 GB, free: 46.05 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008627/0.6676, allocations: 0.5898 MB / 1.081 GB, free: 45.81 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.168e-05/0.6676, allocations: 38.66 kB / 1.081 GB, free: 45.81 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.6677, allocations: 50.12 kB / 1.081 GB, free: 45.81 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001677/0.6694, allocations: 1.167 MB / 1.083 GB, free: 45.46 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.473e-05/0.6694, allocations: 10.84 kB / 1.083 GB, free: 45.46 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.219e-05/0.6695, allocations: 21.25 kB / 1.083 GB, free: 45.46 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.568e-05/0.6695, allocations: 36.56 kB / 1.083 GB, free: 45.45 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002066/0.6716, allocations: 1.074 MB / 1.084 GB, free: 45.45 MB / 1.01 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004888/0.6765, allocations: 4.774 MB / 1.088 GB, free: 42.46 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002021/0.6785, allocations: 0.8267 MB / 1.089 GB, free: 42.42 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001004/0.6795, allocations: 0.5225 MB / 1.09 GB, free: 42.41 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004396/0.68, allocations: 76.39 kB / 1.09 GB, free: 42.41 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.733e-05/0.68, allocations: 41.23 kB / 1.09 GB, free: 42.36 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002166/0.6821, allocations: 0.6249 MB / 1.09 GB, free: 42.35 MB / 1.01 GB Notification: Performance of pre-optimization done (n=50): time 2.174e-06/0.6821, allocations: 0 / 1.09 GB, free: 42.35 MB / 1.01 GB Notification: Performance of matching and sorting (n=50): time 0.01663/0.6988, allocations: 3.44 MB / 1.094 GB, free: 42.23 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.356e-05/0.6988, allocations: 62.53 kB / 1.094 GB, free: 42.16 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006445/0.6994, allocations: 0.6717 MB / 1.094 GB, free: 41.98 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 7.299e-05/0.6995, allocations: 34.86 kB / 1.094 GB, free: 41.95 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.6997, allocations: 403 kB / 1.095 GB, free: 41.75 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/0.6998, allocations: 202 kB / 1.095 GB, free: 41.62 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003101/0.7002, allocations: 170.1 kB / 1.095 GB, free: 41.59 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.7003, allocations: 0.5773 MB / 1.096 GB, free: 41.1 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001004/0.7013, allocations: 445.3 kB / 1.096 GB, free: 41.1 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001126/0.7024, allocations: 0.611 MB / 1.097 GB, free: 40.93 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002152/0.7046, allocations: 1.012 MB / 1.098 GB, free: 40.81 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.7046, allocations: 2.031 kB / 1.098 GB, free: 40.81 MB / 1.01 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01094/0.7155, allocations: 2.395 MB / 1.1 GB, free: 40.7 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.7155, allocations: 6.156 kB / 1.1 GB, free: 40.7 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.7155, allocations: 3.203 kB / 1.1 GB, free: 40.7 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01158/0.7271, allocations: 2.344 MB / 1.102 GB, free: 40.57 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007845/0.7279, allocations: 129.8 kB / 1.103 GB, free: 40.57 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01122/0.7391, allocations: 7.038 MB / 1.109 GB, free: 36.96 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/0.7402, allocations: 50.67 kB / 1.109 GB, free: 36.96 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/0.7403, allocations: 51 kB / 1.11 GB, free: 36.96 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003793/0.7407, allocations: 223.5 kB / 1.11 GB, free: 36.8 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002591/0.741, allocations: 89.89 kB / 1.11 GB, free: 36.76 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005908/0.7469, allocations: 1.796 MB / 1.112 GB, free: 36.63 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.7469, allocations: 6.406 kB / 1.112 GB, free: 36.63 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.7469, allocations: 8 kB / 1.112 GB, free: 36.62 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.7469, allocations: 6.938 kB / 1.112 GB, free: 36.62 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006926/0.7538, allocations: 2.61 MB / 1.114 GB, free: 36.14 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.7538, allocations: 8.406 kB / 1.114 GB, free: 36.13 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007923/0.7546, allocations: 119.7 kB / 1.114 GB, free: 36.13 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005082/0.7597, allocations: 1.405 MB / 1.116 GB, free: 36.03 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-05/0.7598, allocations: 18.62 kB / 1.116 GB, free: 36.03 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005869/0.7657, allocations: 4.975 MB / 1.121 GB, free: 32.51 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.7657, allocations: 2.844 kB / 1.121 GB, free: 32.51 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006633/0.7723, allocations: 2.317 MB / 1.123 GB, free: 32.14 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000509/0.7728, allocations: 166.6 kB / 1.123 GB, free: 32.09 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/0.773, allocations: 12.09 kB / 1.123 GB, free: 32.09 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008437/0.7738, allocations: 52.45 kB / 1.123 GB, free: 32.09 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002139/0.774, allocations: 52.28 kB / 1.123 GB, free: 32.09 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.333e-05/0.7741, allocations: 26.48 kB / 1.123 GB, free: 32.09 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0005201/0.7746, allocations: 449.9 kB / 1.124 GB, free: 31.96 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.7746, allocations: 1.375 kB / 1.124 GB, free: 31.96 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001112/0.7757, allocations: 314.7 kB / 1.124 GB, free: 31.93 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003281/0.7761, allocations: 195 kB / 1.124 GB, free: 31.83 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.004367/0.7804, allocations: 1.663 MB / 1.126 GB, free: 31.39 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.7804, allocations: 1.031 kB / 1.126 GB, free: 31.39 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002248/0.7827, allocations: 1.084 MB / 1.127 GB, free: 30.98 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001788/0.7845, allocations: 371 kB / 1.127 GB, free: 30.93 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003101/0.7876, allocations: 1.669 MB / 1.129 GB, free: 30.15 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003881/0.788, allocations: 381.6 kB / 1.129 GB, free: 30.04 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006292/0.7886, allocations: 132.3 kB / 1.129 GB, free: 30 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002956/0.7889, allocations: 68.5 kB / 1.129 GB, free: 29.99 MB / 1.01 GB Notification: Performance of SimCode: time 1.152e-06/0.7889, allocations: 0 / 1.129 GB, free: 29.99 MB / 1.01 GB Notification: Performance of Templates: time 0.03072/0.8196, allocations: 23.57 MB / 1.152 GB, free: 27.52 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.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: 9.779698325088248]