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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001092/0.001092, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 183.7 kB / 16.92 MB, free: 6.77 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.502/1.502, allocations: 223.3 MB / 241 MB, free: 5.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.739/2.739, allocations: 437.8 MB / 0.7128 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004073/0.0004077, allocations: 11.94 kB / 0.8735 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9713/0.9717, allocations: 153.8 MB / 1.024 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2312/1.203, allocations: 187.9 MB / 1.207 GB, free: 3.234 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.007244/1.21, allocations: 4.008 MB / 1.211 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00126/1.212, allocations: 19.88 kB / 1.211 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001564/1.213, allocations: 397.8 kB / 1.211 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004494/1.218, allocations: 1.447 MB / 1.213 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00386/1.222, allocations: 1.239 MB / 1.214 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003619/1.225, allocations: 2.349 MB / 1.216 GB, free: 9.758 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001555/1.227, allocations: 0.8787 MB / 1.217 GB, free: 8.867 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002126/1.229, allocations: 0.8486 MB / 1.218 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001746/1.231, allocations: 0.8643 MB / 1.219 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003906/1.231, allocations: 72 kB / 1.219 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00349/1.235, allocations: 1.562 MB / 1.221 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0007571/1.235, allocations: 339 kB / 1.221 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001238/1.237, allocations: 0.5071 MB / 1.221 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002209/1.239, allocations: 1.142 MB / 1.222 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/1.239, allocations: 0 / 1.222 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.625e-06/1.239, allocations: 0 / 1.222 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.568e-05/1.239, allocations: 0 / 1.222 GB, free: 3.52 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.003363/1.242, allocations: 1.188 MB / 1.224 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/1.242, allocations: 8.031 kB / 1.224 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001863/1.244, allocations: 238.7 kB / 1.224 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001364/1.246, allocations: 0.5837 MB / 1.224 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.847e-05/1.246, allocations: 44.94 kB / 1.224 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001835/1.246, allocations: 51.94 kB / 1.225 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001874/1.248, allocations: 0.9726 MB / 1.225 GB, free: 280 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/1.248, allocations: 4 kB / 1.225 GB, free: 276 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.527e-05/1.248, allocations: 28 kB / 1.225 GB, free: 248 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.136e-05/1.248, allocations: 27.98 kB / 1.226 GB, free: 220 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001695/1.25, allocations: 0.9523 MB / 1.226 GB, free: 15.26 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.005978/1.256, allocations: 4.168 MB / 1.231 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/1.257, allocations: 0.6025 MB / 1.231 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008375/1.258, allocations: 0.527 MB / 1.232 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001143/1.259, allocations: 0.8939 MB / 1.233 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/1.259, allocations: 35 kB / 1.233 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001616/1.26, allocations: 351.2 kB / 1.233 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=50): time 5.34e-06/1.26, allocations: 4 kB / 1.233 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of matching and sorting (n=50): time 0.01803/1.278, allocations: 3.693 MB / 1.236 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/1.279, allocations: 63.78 kB / 1.237 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/1.28, allocations: 0.7116 MB / 1.237 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001319/1.28, allocations: 33.7 kB / 1.237 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002834/1.28, allocations: 324.6 kB / 1.238 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002398/1.28, allocations: 169.5 kB / 1.238 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/1.28, allocations: 49.69 kB / 1.238 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001278/1.281, allocations: 326 kB / 1.238 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007225/1.281, allocations: 404.9 kB / 1.238 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007753/1.282, allocations: 497.5 kB / 1.239 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001559/1.284, allocations: 0.9297 MB / 1.24 GB, free: 1 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/1.284, allocations: 0 / 1.24 GB, free: 1 MB / 0.9825 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01157/1.295, allocations: 2.478 MB / 1.242 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.638e-05/1.295, allocations: 8 kB / 1.242 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/1.295, allocations: 0 / 1.242 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00936/1.305, allocations: 1.55 MB / 1.244 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005341/1.305, allocations: 99.8 kB / 1.244 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01308/1.318, allocations: 6.562 MB / 1.25 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/1.32, allocations: 39.89 kB / 1.25 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002122/1.32, allocations: 51.8 kB / 1.25 GB, free: 5.906 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.0005559/1.32, allocations: 214.6 kB / 1.251 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003215/1.321, allocations: 79.06 kB / 1.251 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005536/1.326, allocations: 1.687 MB / 1.252 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/1.326, allocations: 8 kB / 1.252 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.347e-05/1.326, allocations: 4 kB / 1.252 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/1.326, allocations: 3.984 kB / 1.252 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006462/1.333, allocations: 2.481 MB / 1.255 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/1.333, allocations: 4 kB / 1.255 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004454/1.333, allocations: 92.08 kB / 1.255 GB, free: 1.234 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003418/1.337, allocations: 0.6571 MB / 1.255 GB, free: 0.5703 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-05/1.337, allocations: 19.94 kB / 1.256 GB, free: 0.5508 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7738/2.111, allocations: 4.411 MB / 1.26 GB, free: 229.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/2.111, allocations: 3.438 kB / 1.26 GB, free: 229.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0062/2.117, allocations: 2.096 MB / 1.262 GB, free: 228.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005442/2.117, allocations: 233.1 kB / 1.262 GB, free: 228.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/2.118, allocations: 16.66 kB / 1.262 GB, free: 228.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006488/2.118, allocations: 34.19 kB / 1.262 GB, free: 228.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002846/2.118, allocations: 56.75 kB / 1.262 GB, free: 228.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.665e-05/2.119, allocations: 21.11 kB / 1.262 GB, free: 228.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000807/2.119, allocations: 0.4985 MB / 1.263 GB, free: 227.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.5e-07/2.119, allocations: 0.6562 kB / 1.263 GB, free: 227.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001263/2.121, allocations: 280.8 kB / 1.263 GB, free: 227.9 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.0005583/2.121, allocations: 223.5 kB / 1.263 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003774/2.125, allocations: 1.422 MB / 1.265 GB, free: 227.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/2.125, allocations: 1.656 kB / 1.265 GB, free: 227.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002078/2.127, allocations: 0.8952 MB / 1.265 GB, free: 226.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00263/2.13, allocations: 436 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.003424/2.133, allocations: 2.09 MB / 1.268 GB, free: 225.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007199/2.134, allocations: 0.9796 MB / 1.269 GB, free: 224.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003257/2.134, allocations: 72.09 kB / 1.269 GB, free: 224.8 MB / 0.9981 GB Notification: Performance of SimCode: time 2.114e-06/2.134, allocations: 0 / 1.269 GB, free: 224.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.03513/2.169, allocations: 19.18 MB / 1.288 GB, free: 218.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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches