Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.007748/0.007756, allocations: 104.1 kB / 15.74 MB, free: 6.031 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.002089/0.002089, allocations: 194 kB / 16.67 MB, free: 5.953 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.454/1.454, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.329/2.329, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 63.09 kB / 0.9508 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2479, allocations: 140.4 MB / 1.088 GB, free: 1.625 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.8391/1.087, allocations: 192.6 MB / 1.276 GB, free: 3.445 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.006332/1.093, allocations: 4.012 MB / 1.28 GB, free: 3.414 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/1.094, allocations: 20.94 kB / 1.28 GB, free: 3.414 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001387/1.096, allocations: 478.1 kB / 1.28 GB, free: 3.406 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004066/1.1, allocations: 1.536 MB / 1.282 GB, free: 3.34 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004344/1.104, allocations: 1.357 MB / 1.283 GB, free: 3.297 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002928/1.107, allocations: 1.631 MB / 1.285 GB, free: 3.293 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001543/1.109, allocations: 0.9555 MB / 1.286 GB, free: 3.184 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002338/1.111, allocations: 0.9251 MB / 1.287 GB, free: 3.184 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001995/1.113, allocations: 0.8567 MB / 1.287 GB, free: 3.18 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005056/1.114, allocations: 96.19 kB / 1.288 GB, free: 3.18 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003701/1.117, allocations: 1.305 MB / 1.289 GB, free: 3.168 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007667/1.118, allocations: 353.7 kB / 1.289 GB, free: 3.168 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001496/1.12, allocations: 0.5139 MB / 1.29 GB, free: 3.164 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00392/1.124, allocations: 1.628 MB / 1.291 GB, free: 3.082 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/1.124, allocations: 0 / 1.291 GB, free: 3.082 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.354e-06/1.124, allocations: 1.25 kB / 1.291 GB, free: 3.082 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.837e-05/1.124, allocations: 0.9688 kB / 1.291 GB, free: 3.082 MB / 1.014 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.003341/1.127, allocations: 1.449 MB / 1.293 GB, free: 2.383 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/1.127, allocations: 9.719 kB / 1.293 GB, free: 2.383 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001578/1.129, allocations: 244.1 kB / 1.293 GB, free: 2.34 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009391/1.13, allocations: 0.6082 MB / 1.294 GB, free: 2.039 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.4e-05/1.13, allocations: 36.06 kB / 1.294 GB, free: 2.039 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/1.13, allocations: 51.64 kB / 1.294 GB, free: 2.039 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/1.131, allocations: 0.9654 MB / 1.295 GB, free: 1.82 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/1.131, allocations: 5.609 kB / 1.295 GB, free: 1.82 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-05/1.131, allocations: 24.39 kB / 1.295 GB, free: 1.82 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.556e-05/1.132, allocations: 25.88 kB / 1.295 GB, free: 1.82 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001522/1.133, allocations: 0.941 MB / 1.296 GB, free: 1.82 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.005514/1.139, allocations: 4.262 MB / 1.3 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009411/1.14, allocations: 0.6022 MB / 1.3 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007378/1.14, allocations: 0.5203 MB / 1.301 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001063/1.141, allocations: 0.8769 MB / 1.302 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/1.141, allocations: 41.78 kB / 1.302 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001595/1.143, allocations: 415.6 kB / 1.302 GB, free: 14.47 MB / 1.029 GB Notification: Performance of pre-optimization done (n=50): time 2.364e-06/1.143, allocations: 1.062 kB / 1.302 GB, free: 14.47 MB / 1.029 GB Notification: Performance of matching and sorting (n=50): time 0.01639/1.159, allocations: 3.833 MB / 1.306 GB, free: 14.18 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/1.16, allocations: 58.44 kB / 1.306 GB, free: 14.12 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009542/1.16, allocations: 0.7101 MB / 1.307 GB, free: 13.99 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001262/1.161, allocations: 35.05 kB / 1.307 GB, free: 13.96 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002124/1.161, allocations: 322.3 kB / 1.307 GB, free: 13.84 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/1.161, allocations: 174.6 kB / 1.307 GB, free: 13.73 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002568/1.161, allocations: 153.5 kB / 1.307 GB, free: 13.71 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001144/1.161, allocations: 327.8 kB / 1.308 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006366/1.162, allocations: 405.2 kB / 1.308 GB, free: 13.39 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007098/1.163, allocations: 484.3 kB / 1.308 GB, free: 13.32 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001388/1.164, allocations: 0.9179 MB / 1.309 GB, free: 13.23 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/1.164, allocations: 4 kB / 1.309 GB, free: 13.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01077/1.175, allocations: 2.558 MB / 1.312 GB, free: 13.05 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.596e-05/1.175, allocations: 8.469 kB / 1.312 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/1.175, allocations: 7.672 kB / 1.312 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009063/1.184, allocations: 1.728 MB / 1.313 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005283/1.185, allocations: 98.55 kB / 1.314 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01255/1.197, allocations: 7.134 MB / 1.321 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/1.198, allocations: 18.39 kB / 1.321 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.602e-05/1.198, allocations: 51.47 kB / 1.321 GB, free: 10.09 MB / 1.029 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.000444/1.199, allocations: 215.7 kB / 1.321 GB, free: 9.965 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001863/1.199, allocations: 78.94 kB / 1.321 GB, free: 9.926 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004874/1.204, allocations: 1.727 MB / 1.323 GB, free: 9.801 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/1.204, allocations: 7.375 kB / 1.323 GB, free: 9.801 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/1.204, allocations: 3.406 kB / 1.323 GB, free: 9.801 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/1.204, allocations: 7.141 kB / 1.323 GB, free: 9.797 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005394/1.209, allocations: 2.545 MB / 1.325 GB, free: 9.359 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/1.209, allocations: 1.094 kB / 1.325 GB, free: 9.359 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004232/1.21, allocations: 101.2 kB / 1.325 GB, free: 9.352 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003074/1.213, allocations: 0.7938 MB / 1.326 GB, free: 9.301 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.817e-05/1.213, allocations: 16.66 kB / 1.326 GB, free: 9.301 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006354/1.219, allocations: 4.857 MB / 1.331 GB, free: 6.547 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/1.219, allocations: 2.531 kB / 1.331 GB, free: 6.547 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004928/1.224, allocations: 2.152 MB / 1.333 GB, free: 6.246 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004945/1.225, allocations: 232.6 kB / 1.333 GB, free: 6.109 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/1.225, allocations: 12.89 kB / 1.333 GB, free: 6.109 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005619/1.225, allocations: 25.27 kB / 1.333 GB, free: 6.109 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001938/1.226, allocations: 56 kB / 1.333 GB, free: 6.105 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.821e-05/1.226, allocations: 16.84 kB / 1.333 GB, free: 6.105 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005826/1.226, allocations: 0.5018 MB / 1.334 GB, free: 6.012 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.41e-07/1.226, allocations: 0 / 1.334 GB, free: 6.012 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001045/1.227, allocations: 287.2 kB / 1.334 GB, free: 5.996 MB / 1.029 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.000491/1.228, allocations: 219.3 kB / 1.334 GB, free: 5.879 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003211/1.231, allocations: 1.462 MB / 1.336 GB, free: 5.574 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/1.231, allocations: 3.375 kB / 1.336 GB, free: 5.574 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001635/1.233, allocations: 0.9137 MB / 1.336 GB, free: 5.309 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001966/1.235, allocations: 463.5 kB / 1.337 GB, free: 5.16 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00256/1.237, allocations: 1.705 MB / 1.339 GB, free: 4.215 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005405/1.238, allocations: 0.9816 MB / 1.34 GB, free: 3.496 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0005321/1.238, allocations: 169.3 kB / 1.34 GB, free: 3.445 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/1.239, allocations: 71.06 kB / 1.34 GB, free: 3.434 MB / 1.029 GB Notification: Performance of SimCode: time 7.51e-07/1.239, allocations: 0 / 1.34 GB, free: 3.434 MB / 1.029 GB Notification: Performance of Templates: time 0.03519/1.274, allocations: 23.39 MB / 1.363 GB, free: 9.672 MB / 1.045 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches