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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001407/0.001407, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.603/1.603, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.972/2.972, allocations: 462.6 MB / 0.736 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004543/0.0004543, allocations: 19.86 kB / 0.9021 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4049/0.4054, allocations: 159.6 MB / 1.058 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2087/0.6142, allocations: 175.3 MB / 1.229 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007213/0.6215, allocations: 3.767 MB / 1.233 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001007/0.6226, allocations: 19.88 kB / 1.233 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001145/0.6237, allocations: 305.9 kB / 1.233 GB, free: 1.434 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003262/0.627, allocations: 1.145 MB / 1.234 GB, free: 292 kB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003035/0.63, allocations: 0.9572 MB / 1.235 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00288/0.6329, allocations: 1.982 MB / 1.237 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001126/0.6341, allocations: 0.8268 MB / 1.238 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001455/0.6355, allocations: 0.8487 MB / 1.239 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001076/0.6366, allocations: 0.8333 MB / 1.24 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001272/0.6368, allocations: 72 kB / 1.24 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00197/0.6387, allocations: 0.7132 MB / 1.24 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003463/0.6391, allocations: 327 kB / 1.241 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002319/0.6393, allocations: 185.3 kB / 1.241 GB, free: 9.512 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001324/0.6407, allocations: 1.075 MB / 1.242 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.6407, allocations: 0 / 1.242 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.084e-06/0.6407, allocations: 0 / 1.242 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.051e-05/0.6407, allocations: 0 / 1.242 GB, free: 8.434 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002505/0.6432, allocations: 1.184 MB / 1.243 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.6433, allocations: 8.031 kB / 1.243 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001501/0.6448, allocations: 250.6 kB / 1.243 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008657/0.6457, allocations: 0.557 MB / 1.244 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.05e-05/0.6457, allocations: 37 kB / 1.244 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.6458, allocations: 59.92 kB / 1.244 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.6472, allocations: 0.9609 MB / 1.245 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/0.6473, allocations: 3.938 kB / 1.245 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.251e-05/0.6474, allocations: 24 kB / 1.245 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-05/0.6474, allocations: 27.98 kB / 1.245 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001462/0.6489, allocations: 0.9484 MB / 1.246 GB, free: 4.215 MB / 0.9981 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.7138/1.363, allocations: 4.172 MB / 1.25 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/1.364, allocations: 0.5999 MB / 1.251 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001474/1.366, allocations: 0.5199 MB / 1.251 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001354/1.367, allocations: 0.8939 MB / 1.252 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.983e-05/1.367, allocations: 44.78 kB / 1.252 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00261/1.37, allocations: 356.9 kB / 1.252 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=50): time 7.354e-06/1.37, allocations: 0 / 1.252 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=50): time 0.02448/1.394, allocations: 3.684 MB / 1.256 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.241e-05/1.395, allocations: 65.55 kB / 1.256 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002072/1.397, allocations: 0.7029 MB / 1.257 GB, free: 191 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003857/1.397, allocations: 34.89 kB / 1.257 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004258/1.397, allocations: 319.9 kB / 1.257 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003377/1.398, allocations: 178.6 kB / 1.257 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.471e-05/1.398, allocations: 13.78 kB / 1.257 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000137/1.398, allocations: 324.9 kB / 1.258 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/1.399, allocations: 404.4 kB / 1.258 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001318/1.401, allocations: 488.7 kB / 1.258 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001292/1.402, allocations: 452.4 kB / 1.259 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/1.402, allocations: 3.828 kB / 1.259 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01611/1.418, allocations: 2.475 MB / 1.261 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.655e-05/1.418, allocations: 10.88 kB / 1.261 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/1.418, allocations: 2.625 kB / 1.261 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01268/1.431, allocations: 1.544 MB / 1.263 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005563/1.431, allocations: 96.39 kB / 1.263 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01239/1.444, allocations: 6.532 MB / 1.269 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/1.445, allocations: 35.88 kB / 1.269 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002242/1.445, allocations: 47.42 kB / 1.269 GB, free: 187.4 MB / 0.9981 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 4,(4,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005484/1.446, allocations: 210.6 kB / 1.269 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003065/1.446, allocations: 85.81 kB / 1.27 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00549/1.452, allocations: 1.668 MB / 1.271 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/1.452, allocations: 7.281 kB / 1.271 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-05/1.452, allocations: 5.125 kB / 1.271 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.941e-05/1.452, allocations: 7.047 kB / 1.271 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008153/1.46, allocations: 2.474 MB / 1.274 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/1.46, allocations: 2.844 kB / 1.274 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005413/1.46, allocations: 95.2 kB / 1.274 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002962/1.463, allocations: 0.6606 MB / 1.274 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.722e-05/1.464, allocations: 20.06 kB / 1.274 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007794/1.471, allocations: 4.413 MB / 1.279 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/1.471, allocations: 2.469 kB / 1.279 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006286/1.478, allocations: 2.09 MB / 1.281 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009059/1.479, allocations: 235.7 kB / 1.281 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003405/1.479, allocations: 12.06 kB / 1.281 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008411/1.48, allocations: 35.88 kB / 1.281 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002695/1.48, allocations: 49 kB / 1.281 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.914e-05/1.48, allocations: 18 kB / 1.281 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008955/1.481, allocations: 0.4995 MB / 1.282 GB, free: 182 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.481, allocations: 3.719 kB / 1.282 GB, free: 182 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001956/1.483, allocations: 291.7 kB / 1.282 GB, free: 182 MB / 0.9981 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,92.0%) 3,(4,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000702/1.484, allocations: 219 kB / 1.282 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003405/1.487, allocations: 1.38 MB / 1.283 GB, free: 181 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/1.487, allocations: 0 / 1.283 GB, free: 181 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001745/1.489, allocations: 0.8881 MB / 1.284 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002336/1.491, allocations: 443.9 kB / 1.285 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003004/1.494, allocations: 1.992 MB / 1.287 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004711/1.495, allocations: 0.9756 MB / 1.288 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008166/1.496, allocations: 161.3 kB / 1.288 GB, free: 178 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002368/1.496, allocations: 71.44 kB / 1.288 GB, free: 178 MB / 0.9981 GB Notification: Performance of SimCode: time 8.22e-07/1.496, allocations: 0 / 1.288 GB, free: 178 MB / 0.9981 GB Notification: Performance of Templates: time 0.04293/1.539, allocations: 20.83 MB / 1.308 GB, free: 163.4 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) 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) Reference file matches