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.001136/0.001137, allocations: 116.1 kB / 16.42 MB, free: 6.496 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.001138/0.001138, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.282/1.282, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.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.193/2.193, allocations: 390.3 MB / 0.6655 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 63.91 kB / 0.9515 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7048/0.706, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.1979/0.904, allocations: 192.6 MB / 1.277 GB, free: 13.06 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.006078/0.9101, allocations: 4.024 MB / 1.281 GB, free: 9.027 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006825/0.9108, allocations: 19.94 kB / 1.281 GB, free: 9.008 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001205/0.912, allocations: 488.9 kB / 1.281 GB, free: 8.527 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003346/0.9154, allocations: 1.583 MB / 1.283 GB, free: 6.938 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003014/0.9185, allocations: 1.376 MB / 1.284 GB, free: 5.562 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00192/0.9204, allocations: 1.639 MB / 1.286 GB, free: 3.914 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00107/0.9215, allocations: 0.9529 MB / 1.287 GB, free: 2.949 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001209/0.9227, allocations: 0.9423 MB / 1.287 GB, free: 2.004 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000936/0.9237, allocations: 0.8448 MB / 1.288 GB, free: 1.156 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001449/0.9238, allocations: 100 kB / 1.288 GB, free: 1.059 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00226/0.9261, allocations: 1.321 MB / 1.29 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003116/0.9264, allocations: 351 kB / 1.29 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000491/0.9269, allocations: 0.5133 MB / 1.291 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002036/0.9289, allocations: 1.628 MB / 1.292 GB, free: 13.24 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.929, allocations: 3.938 kB / 1.292 GB, free: 13.24 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.543e-06/0.929, allocations: 0 / 1.292 GB, free: 13.24 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.343e-05/0.929, allocations: 0 / 1.292 GB, free: 13.24 MB / 1.029 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.002839/0.9318, allocations: 1.445 MB / 1.294 GB, free: 11.74 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.9319, allocations: 8.031 kB / 1.294 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001554/0.9334, allocations: 242.8 kB / 1.294 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008953/0.9343, allocations: 0.611 MB / 1.294 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.301e-05/0.9344, allocations: 37 kB / 1.294 GB, free: 10.81 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.9345, allocations: 51.98 kB / 1.294 GB, free: 10.76 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.936, allocations: 0.957 MB / 1.295 GB, free: 9.727 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.936, allocations: 7.938 kB / 1.295 GB, free: 9.719 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.894e-05/0.9361, allocations: 24 kB / 1.295 GB, free: 9.695 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.322e-05/0.9361, allocations: 35.92 kB / 1.295 GB, free: 9.66 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001464/0.9376, allocations: 0.9406 MB / 1.296 GB, free: 8.723 MB / 1.029 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.005043/0.9426, allocations: 4.255 MB / 1.301 GB, free: 4.293 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008968/0.9436, allocations: 0.6001 MB / 1.301 GB, free: 3.688 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007099/0.9443, allocations: 0.5175 MB / 1.302 GB, free: 3.168 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000951/0.9452, allocations: 0.8861 MB / 1.302 GB, free: 2.098 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/0.9453, allocations: 39 kB / 1.303 GB, free: 2.047 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001443/0.9467, allocations: 415.1 kB / 1.303 GB, free: 1.641 MB / 1.029 GB Notification: Performance of pre-optimization done (n=50): time 2.555e-06/0.9467, allocations: 0 / 1.303 GB, free: 1.641 MB / 1.029 GB Notification: Performance of matching and sorting (n=50): time 0.01823/0.965, allocations: 3.837 MB / 1.307 GB, free: 13.75 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.965, allocations: 59.78 kB / 1.307 GB, free: 13.68 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000899/0.9659, allocations: 0.7039 MB / 1.307 GB, free: 12.96 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001084/0.9661, allocations: 37.7 kB / 1.307 GB, free: 12.92 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002368/0.9663, allocations: 324.6 kB / 1.308 GB, free: 12.6 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001735/0.9665, allocations: 173.4 kB / 1.308 GB, free: 12.43 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002722/0.9668, allocations: 158 kB / 1.308 GB, free: 12.27 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.9669, allocations: 330 kB / 1.308 GB, free: 11.94 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006854/0.9676, allocations: 392.9 kB / 1.309 GB, free: 11.55 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007272/0.9683, allocations: 485.5 kB / 1.309 GB, free: 11.05 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001454/0.9698, allocations: 0.9219 MB / 1.31 GB, free: 10.11 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.9698, allocations: 0 / 1.31 GB, free: 10.11 MB / 1.045 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01194/0.9818, allocations: 2.552 MB / 1.313 GB, free: 7.535 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/0.9818, allocations: 12.06 kB / 1.313 GB, free: 7.523 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.9818, allocations: 4 kB / 1.313 GB, free: 7.52 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01006/0.9919, allocations: 1.73 MB / 1.314 GB, free: 5.781 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005/0.9924, allocations: 95.8 kB / 1.314 GB, free: 5.688 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01294/1.005, allocations: 7.141 MB / 1.321 GB, free: 14.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008275/1.006, allocations: 20.05 kB / 1.321 GB, free: 14.23 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-05/1.006, allocations: 47.92 kB / 1.321 GB, free: 14.18 MB / 1.061 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.0003866/1.007, allocations: 202.3 kB / 1.322 GB, free: 13.97 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001778/1.007, allocations: 79.06 kB / 1.322 GB, free: 13.89 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005186/1.012, allocations: 1.749 MB / 1.323 GB, free: 12.13 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/1.012, allocations: 3.984 kB / 1.323 GB, free: 12.12 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/1.012, allocations: 0 / 1.323 GB, free: 12.12 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004161/1.013, allocations: 231.9 kB / 1.324 GB, free: 11.88 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/1.013, allocations: 12 kB / 1.324 GB, free: 11.87 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005963/1.013, allocations: 23.97 kB / 1.324 GB, free: 11.84 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001695/1.013, allocations: 60.45 kB / 1.324 GB, free: 11.79 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003342/1.017, allocations: 1.301 MB / 1.325 GB, free: 10.47 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002149/1.019, allocations: 1.498 MB / 1.326 GB, free: 8.961 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000597/1.02, allocations: 420.3 kB / 1.327 GB, free: 8.551 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0006127/1.02, allocations: 0.4951 MB / 1.327 GB, free: 8.059 MB / 1.061 GB Notification: Performance of Backend: time 3.9e-07/1.02, allocations: 0 / 1.327 GB, free: 8.059 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00426/1.025, allocations: 1.464 MB / 1.329 GB, free: 6.574 MB / 1.061 GB Notification: Performance of SimCode: time 0.003247/1.028, allocations: 2.281 MB / 1.331 GB, free: 4.258 MB / 1.061 GB Notification: Performance of Templates: time 0.03293/1.061, allocations: 22.47 MB / 1.353 GB, free: 14 MB / 1.092 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches