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.001376/0.001375, allocations: 100.1 kB / 15.88 MB, free: 12 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.0017/0.0017, allocations: 196.9 kB / 16.79 MB, free: 6.809 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.49/1.49, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.879/2.879, allocations: 461.8 MB / 0.7348 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.001321, allocations: 63.64 kB / 0.899 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3765, allocations: 157.4 MB / 1.053 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2077/0.5842, allocations: 190.4 MB / 1.239 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00735/0.5916, allocations: 4.057 MB / 1.243 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00127/0.5929, allocations: 19.88 kB / 1.243 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001787/0.5947, allocations: 401.8 kB / 1.243 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005111/0.5999, allocations: 1.443 MB / 1.244 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004624/0.6046, allocations: 1.244 MB / 1.246 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.7768/1.381, allocations: 2.342 MB / 1.248 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001783/1.383, allocations: 0.8766 MB / 1.249 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00219/1.385, allocations: 0.8593 MB / 1.25 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00136/1.387, allocations: 0.8826 MB / 1.251 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002035/1.387, allocations: 76.69 kB / 1.251 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0031/1.39, allocations: 1.578 MB / 1.252 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003713/1.391, allocations: 335.5 kB / 1.252 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006292/1.391, allocations: 0.4919 MB / 1.253 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001763/1.393, allocations: 1.158 MB / 1.254 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/1.393, allocations: 0 / 1.254 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.455e-06/1.393, allocations: 0 / 1.254 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.321e-05/1.393, allocations: 1.203 kB / 1.254 GB, free: 3.926 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.003524/1.397, allocations: 1.45 MB / 1.255 GB, free: 19.21 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/1.397, allocations: 12.5 kB / 1.255 GB, free: 19.2 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001683/1.398, allocations: 239.1 kB / 1.256 GB, free: 19.16 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009513/1.399, allocations: 0.5887 MB / 1.256 GB, free: 18.86 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.204e-05/1.399, allocations: 39.16 kB / 1.256 GB, free: 18.86 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/1.399, allocations: 51.41 kB / 1.256 GB, free: 18.86 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/1.401, allocations: 0.9598 MB / 1.257 GB, free: 18.65 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/1.401, allocations: 7.359 kB / 1.257 GB, free: 18.64 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.079e-05/1.401, allocations: 27.66 kB / 1.257 GB, free: 18.64 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.487e-05/1.401, allocations: 30.91 kB / 1.257 GB, free: 18.64 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001467/1.403, allocations: 0.9371 MB / 1.258 GB, free: 18.64 MB / 1.014 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.005576/1.408, allocations: 4.261 MB / 1.262 GB, free: 16.33 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009287/1.409, allocations: 0.597 MB / 1.263 GB, free: 16.31 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007294/1.41, allocations: 0.5114 MB / 1.264 GB, free: 16.3 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001114/1.411, allocations: 0.8793 MB / 1.264 GB, free: 15.36 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/1.411, allocations: 41.89 kB / 1.264 GB, free: 15.32 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001813/1.413, allocations: 430.3 kB / 1.265 GB, free: 15.26 MB / 1.014 GB Notification: Performance of pre-optimization done (n=50): time 4.509e-06/1.413, allocations: 3.094 kB / 1.265 GB, free: 15.26 MB / 1.014 GB Notification: Performance of matching and sorting (n=50): time 0.01882/1.432, allocations: 3.844 MB / 1.269 GB, free: 14.84 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.968e-05/1.432, allocations: 56.38 kB / 1.269 GB, free: 14.78 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001278/1.433, allocations: 0.7059 MB / 1.269 GB, free: 14.65 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002252/1.433, allocations: 39.67 kB / 1.269 GB, free: 14.62 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000272/1.434, allocations: 324.7 kB / 1.27 GB, free: 14.5 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002212/1.434, allocations: 174.4 kB / 1.27 GB, free: 14.39 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003581/1.434, allocations: 147.5 kB / 1.27 GB, free: 14.37 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001242/1.434, allocations: 328.6 kB / 1.27 GB, free: 14.06 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008762/1.435, allocations: 396.6 kB / 1.271 GB, free: 14.06 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009569/1.436, allocations: 490.8 kB / 1.271 GB, free: 13.98 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001937/1.438, allocations: 0.9193 MB / 1.272 GB, free: 13.9 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/1.438, allocations: 1.281 kB / 1.272 GB, free: 13.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01177/1.45, allocations: 2.563 MB / 1.275 GB, free: 13.72 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.257e-05/1.45, allocations: 6.031 kB / 1.275 GB, free: 13.72 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/1.45, allocations: 3.594 kB / 1.275 GB, free: 13.72 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00954/1.46, allocations: 1.731 MB / 1.276 GB, free: 13.63 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005594/1.46, allocations: 92.41 kB / 1.276 GB, free: 13.63 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01219/1.472, allocations: 6.666 MB / 1.283 GB, free: 10.95 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/1.473, allocations: 28.98 kB / 1.283 GB, free: 10.95 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/1.474, allocations: 51.98 kB / 1.283 GB, free: 10.94 MB / 1.014 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.0004683/1.474, allocations: 206.8 kB / 1.283 GB, free: 10.83 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001977/1.474, allocations: 83.33 kB / 1.283 GB, free: 10.79 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004908/1.479, allocations: 1.74 MB / 1.285 GB, free: 10.65 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/1.479, allocations: 10.53 kB / 1.285 GB, free: 10.65 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/1.479, allocations: 3.344 kB / 1.285 GB, free: 10.65 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/1.479, allocations: 2.812 kB / 1.285 GB, free: 10.65 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005735/1.485, allocations: 2.534 MB / 1.287 GB, free: 10.22 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.463e-06/1.485, allocations: 1.25 kB / 1.287 GB, free: 10.22 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004428/1.485, allocations: 91.3 kB / 1.287 GB, free: 10.22 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003361/1.489, allocations: 0.8028 MB / 1.288 GB, free: 10.17 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.345e-05/1.489, allocations: 17.52 kB / 1.288 GB, free: 10.17 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006178/1.495, allocations: 4.478 MB / 1.293 GB, free: 7.602 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/1.495, allocations: 2.094 kB / 1.293 GB, free: 7.602 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00528/1.5, allocations: 2.15 MB / 1.295 GB, free: 7.309 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005548/1.501, allocations: 238.5 kB / 1.295 GB, free: 7.168 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/1.501, allocations: 13.44 kB / 1.295 GB, free: 7.168 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005795/1.502, allocations: 28.2 kB / 1.295 GB, free: 7.168 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001934/1.502, allocations: 59.66 kB / 1.295 GB, free: 7.16 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.916e-05/1.502, allocations: 19.94 kB / 1.295 GB, free: 7.16 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005809/1.503, allocations: 0.4957 MB / 1.296 GB, free: 7.066 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.21e-07/1.503, allocations: 0 / 1.296 GB, free: 7.066 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001083/1.504, allocations: 290.6 kB / 1.296 GB, free: 7.055 MB / 1.014 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.000535/1.504, allocations: 225.8 kB / 1.296 GB, free: 6.941 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003445/1.508, allocations: 1.465 MB / 1.298 GB, free: 6.633 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/1.508, allocations: 0 / 1.298 GB, free: 6.633 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001709/1.509, allocations: 0.9126 MB / 1.298 GB, free: 6.375 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002209/1.512, allocations: 443.2 kB / 1.299 GB, free: 6.348 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003308/1.515, allocations: 2.012 MB / 1.301 GB, free: 5.324 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006112/1.516, allocations: 0.9839 MB / 1.302 GB, free: 4.613 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002659/1.516, allocations: 69.98 kB / 1.302 GB, free: 4.605 MB / 1.014 GB Notification: Performance of SimCode: time 9.82e-07/1.516, allocations: 0 / 1.302 GB, free: 4.605 MB / 1.014 GB Notification: Performance of Templates: time 0.02901/1.545, allocations: 19.28 MB / 1.321 GB, free: 15.95 MB / 1.029 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches