Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001685/0.001685, allocations: 113.4 kB / 16.37 MB, free: 5.996 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.001892/0.001892, allocations: 192.6 kB / 17.31 MB, free: 5.609 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.165/2.165, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 68.83 kB / 0.814 GB, free: 32.6 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2468, allocations: 140.4 MB / 0.9511 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002242/0.2491, allocations: 1.297 MB / 0.9524 GB, free: 6.789 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0005203/0.2496, allocations: 305.1 kB / 0.9527 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.54e-05/0.2497, allocations: 0 / 0.9527 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.952e-05/0.2497, allocations: 3.938 kB / 0.9527 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.674e-05/0.2498, allocations: 11.91 kB / 0.9527 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002707/0.2501, allocations: 79.72 kB / 0.9528 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.743e-05/0.2502, allocations: 31.86 kB / 0.9528 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.796e-05/0.2502, allocations: 4 kB / 0.9528 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.538e-05/0.2503, allocations: 19.92 kB / 0.9528 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.846e-05/0.2503, allocations: 15.92 kB / 0.9528 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.2504, allocations: 4 kB / 0.9528 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.2505, allocations: 79.91 kB / 0.9529 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.445e-05/0.2505, allocations: 11.92 kB / 0.9529 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.077e-05/0.2506, allocations: 19.88 kB / 0.953 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.2507, allocations: 75.78 kB / 0.953 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2507, allocations: 0 / 0.953 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.724e-06/0.2507, allocations: 0 / 0.953 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.107e-06/0.2507, allocations: 0 / 0.953 GB, free: 6.141 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003409/0.2511, allocations: 355.3 kB / 0.9534 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.2511, allocations: 8.031 kB / 0.9534 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.097e-05/0.2512, allocations: 12.94 kB / 0.9534 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.235e-05/0.2513, allocations: 164.3 kB / 0.9535 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.2513, allocations: 384 / 0.9535 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.397e-06/0.2513, allocations: 4.375 kB / 0.9535 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.272e-05/0.2514, allocations: 41.75 kB / 0.9536 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.231e-06/0.2514, allocations: 0 / 0.9536 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.2514, allocations: 4 kB / 0.9536 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.2514, allocations: 4 kB / 0.9536 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.369e-05/0.2515, allocations: 7.984 kB / 0.9536 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001376/0.2516, allocations: 161.7 kB / 0.9538 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.792e-05/0.2517, allocations: 30.64 kB / 0.9538 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.224e-05/0.2517, allocations: 20.78 kB / 0.9538 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009962/0.2527, allocations: 1.179 MB / 0.955 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.2528, allocations: 42.42 kB / 0.955 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.103e-06/0.2528, allocations: 0 / 0.955 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0001347/0.2529, allocations: 45.7 kB / 0.955 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.2529, allocations: 55.39 kB / 0.9551 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.629e-05/0.253, allocations: 113.8 kB / 0.9552 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.253, allocations: 25.7 kB / 0.9552 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.954e-05/0.2531, allocations: 84.14 kB / 0.9553 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.2531, allocations: 15.75 kB / 0.9553 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-05/0.2531, allocations: 13.72 kB / 0.9553 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.808e-05/0.2532, allocations: 310.8 kB / 0.9556 GB, free: 3 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.719e-05/0.2533, allocations: 11.98 kB / 0.9556 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.417e-05/0.2533, allocations: 7.938 kB / 0.9556 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.508e-05/0.2533, allocations: 16.86 kB / 0.9557 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2533, allocations: 0 / 0.9557 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.898e-05/0.2534, allocations: 53.62 kB / 0.9557 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.2534, allocations: 5.719 kB / 0.9557 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.2534, allocations: 0 / 0.9557 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.2534, allocations: 4.328 kB / 0.9557 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.771e-05/0.2535, allocations: 4 kB / 0.9557 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.2535, allocations: 0 / 0.9557 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.657e-05/0.2535, allocations: 0 / 0.9557 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.2535, allocations: 0 / 0.9557 GB, free: 2.891 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.468e-05/0.2536, allocations: 121.7 kB / 0.9558 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.389e-05/0.2536, allocations: 11.83 kB / 0.9559 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/0.2537, allocations: 61.59 kB / 0.9559 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.2538, allocations: 0 / 0.9559 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2538, allocations: 4 kB / 0.9559 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2538, allocations: 0 / 0.9559 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/0.2539, allocations: 161.7 kB / 0.9561 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.2539, allocations: 0 / 0.9561 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.148e-05/0.2539, allocations: 11.92 kB / 0.9561 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.2539, allocations: 4 kB / 0.9561 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.2539, allocations: 7.938 kB / 0.9561 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.254, allocations: 0 / 0.9561 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.254, allocations: 0 / 0.9561 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.536e-05/0.254, allocations: 73.06 kB / 0.9562 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.505e-05/0.2541, allocations: 88.95 kB / 0.9563 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.2541, allocations: 3.984 kB / 0.9563 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.942e-05/0.2542, allocations: 0 / 0.9563 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.423e-05/0.2542, allocations: 8 kB / 0.9563 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.2542, allocations: 0 / 0.9563 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.395e-05/0.2542, allocations: 91.27 kB / 0.9564 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2543, allocations: 0 / 0.9564 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002083/0.2545, allocations: 24 kB / 0.9564 GB, free: 2.121 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001626/0.2546, allocations: 123.2 kB / 0.9565 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.651e-05/0.2547, allocations: 23.92 kB / 0.9565 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2547, allocations: 0 / 0.9565 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.517e-05/0.2548, allocations: 8 kB / 0.9565 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001894/0.2549, allocations: 8 kB / 0.9565 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002353/0.2552, allocations: 122.1 kB / 0.9566 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002037/0.2554, allocations: 0.6844 MB / 0.9573 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.715e-05/0.2554, allocations: 8 kB / 0.9573 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.751e-05/0.2555, allocations: 11.44 kB / 0.9573 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/0.2555, allocations: 0 / 0.9573 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of Templates: time 0.002717/0.2582, allocations: 0.7863 MB / 0.9581 GB, free: 304 kB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches