Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001086/0.001087, allocations: 90.75 kB / 15.36 MB, free: 0.7383 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.009077/0.009077, allocations: 171.3 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.592/2.592, allocations: 437.8 MB / 0.7121 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003932/0.0003934, allocations: 8 kB / 0.8728 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7584/0.7588, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2298/0.9887, allocations: 187.9 MB / 1.206 GB, free: 3.254 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.006645/0.9954, allocations: 4.005 MB / 1.21 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008409/0.9962, allocations: 23.88 kB / 1.21 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001256/0.9975, allocations: 393.9 kB / 1.211 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003735/1.001, allocations: 1.452 MB / 1.212 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003658/1.005, allocations: 1.246 MB / 1.213 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00352/1.008, allocations: 2.341 MB / 1.216 GB, free: 9.781 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001416/1.01, allocations: 0.8787 MB / 1.217 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001801/1.012, allocations: 0.8524 MB / 1.217 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001109/1.013, allocations: 0.876 MB / 1.218 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001368/1.013, allocations: 72 kB / 1.218 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003122/1.016, allocations: 1.559 MB / 1.22 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003891/1.017, allocations: 334.9 kB / 1.22 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006208/1.017, allocations: 0.5072 MB / 1.221 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002615/1.02, allocations: 1.682 MB / 1.222 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.02, allocations: 0 / 1.222 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.284e-06/1.02, allocations: 0 / 1.222 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.065e-05/1.02, allocations: 0 / 1.222 GB, free: 2.992 MB / 0.9669 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.002701/1.023, allocations: 1.188 MB / 1.223 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/1.023, allocations: 8.031 kB / 1.223 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001545/1.024, allocations: 238.7 kB / 1.224 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008937/1.025, allocations: 0.5876 MB / 1.224 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.286e-05/1.025, allocations: 37 kB / 1.224 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/1.025, allocations: 56 kB / 1.224 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/1.027, allocations: 0.9687 MB / 1.225 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/1.027, allocations: 0 / 1.225 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-05/1.027, allocations: 27.94 kB / 1.225 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.038e-05/1.027, allocations: 31.92 kB / 1.225 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001583/1.029, allocations: 0.9484 MB / 1.226 GB, free: 14.74 MB / 0.9825 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.00553/1.034, allocations: 4.18 MB / 1.23 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001/1.035, allocations: 0.6003 MB / 1.231 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007855/1.036, allocations: 0.5213 MB / 1.231 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001098/1.037, allocations: 0.8939 MB / 1.232 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/1.037, allocations: 42.94 kB / 1.232 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001567/1.039, allocations: 359.2 kB / 1.233 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=50): time 3.006e-06/1.039, allocations: 4 kB / 1.233 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of matching and sorting (n=50): time 0.01826/1.057, allocations: 3.685 MB / 1.236 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/1.057, allocations: 63.78 kB / 1.236 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/1.058, allocations: 0.7155 MB / 1.237 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001604/1.058, allocations: 29.7 kB / 1.237 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002881/1.059, allocations: 320.6 kB / 1.237 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001871/1.059, allocations: 177.5 kB / 1.238 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/1.059, allocations: 45.7 kB / 1.238 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001244/1.059, allocations: 333.9 kB / 1.238 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007004/1.06, allocations: 396.9 kB / 1.238 GB, free: 1.938 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007527/1.06, allocations: 497.5 kB / 1.239 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001554/1.062, allocations: 0.9297 MB / 1.24 GB, free: 480 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/1.062, allocations: 0 / 1.24 GB, free: 480 kB / 0.9825 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01193/1.074, allocations: 2.486 MB / 1.242 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.412e-05/1.074, allocations: 4 kB / 1.242 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/1.074, allocations: 4 kB / 1.242 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009652/1.084, allocations: 1.546 MB / 1.244 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005612/1.084, allocations: 99.73 kB / 1.244 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01224/1.097, allocations: 6.559 MB / 1.25 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009993/1.098, allocations: 39.89 kB / 1.25 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/1.098, allocations: 47.92 kB / 1.25 GB, free: 5.379 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 (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.0003913/1.098, allocations: 209.7 kB / 1.25 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/1.098, allocations: 79.06 kB / 1.251 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005259/1.104, allocations: 1.687 MB / 1.252 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/1.104, allocations: 4 kB / 1.252 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/1.104, allocations: 8 kB / 1.252 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/1.104, allocations: 3.984 kB / 1.252 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006139/1.11, allocations: 2.485 MB / 1.255 GB, free: 0.8008 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/1.11, allocations: 4 kB / 1.255 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000455/1.11, allocations: 92.08 kB / 1.255 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003428/1.114, allocations: 0.6687 MB / 1.255 GB, free: 32 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.262e-05/1.114, allocations: 12 kB / 1.255 GB, free: 20 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.638/1.752, allocations: 4.406 MB / 1.26 GB, free: 229 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/1.752, allocations: 2.688 kB / 1.26 GB, free: 229 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005979/1.758, allocations: 2.092 MB / 1.262 GB, free: 228.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005762/1.758, allocations: 236.7 kB / 1.262 GB, free: 228.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/1.759, allocations: 17.42 kB / 1.262 GB, free: 228.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006492/1.759, allocations: 29.98 kB / 1.262 GB, free: 228.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002571/1.759, allocations: 57.02 kB / 1.262 GB, free: 228.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.238e-05/1.76, allocations: 19.92 kB / 1.262 GB, free: 228.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008404/1.76, allocations: 0.4965 MB / 1.263 GB, free: 227.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/1.76, allocations: 0 / 1.263 GB, free: 227.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001289/1.762, allocations: 288.5 kB / 1.263 GB, free: 227.8 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 (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.0006384/1.762, allocations: 216.8 kB / 1.263 GB, free: 227.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003817/1.766, allocations: 1.43 MB / 1.264 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/1.766, allocations: 0.8438 kB / 1.264 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00217/1.768, allocations: 0.8874 MB / 1.265 GB, free: 226.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002684/1.771, allocations: 447.8 kB / 1.266 GB, free: 226.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003355/1.774, allocations: 2.045 MB / 1.268 GB, free: 225.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007814/1.775, allocations: 0.9841 MB / 1.269 GB, free: 224.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000903/1.776, allocations: 160 kB / 1.269 GB, free: 224.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002712/1.776, allocations: 69.23 kB / 1.269 GB, free: 224.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.102e-06/1.776, allocations: 0.625 kB / 1.269 GB, free: 224.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.04683/1.823, allocations: 21.38 MB / 1.29 GB, free: 216.1 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches