Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 158.7 kB / 22.45 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.448/1.448, allocations: 177.2 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.682/2.682, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.392e-05/2.532e-05, allocations: 2.281 kB / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002408/0.002433, allocations: 1.286 MB / 0.9522 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002897/0.002722, allocations: 107.5 kB / 0.9523 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.576e-05/0.002748, allocations: 0 / 0.9523 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.864e-05/0.002767, allocations: 0 / 0.9523 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.748e-05/0.002834, allocations: 0 / 0.9523 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000227/0.003061, allocations: 47.81 kB / 0.9524 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.067e-05/0.003112, allocations: 11.94 kB / 0.9524 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.215e-05/0.003144, allocations: 0 / 0.9524 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.391e-05/0.003178, allocations: 7.984 kB / 0.9524 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.216e-05/0.00323, allocations: 7.938 kB / 0.9524 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.003244, allocations: 7.938 kB / 0.9524 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.003381, allocations: 55.88 kB / 0.9524 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.431e-05/0.003395, allocations: 3.984 kB / 0.9525 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.354e-05/0.003418, allocations: 4 kB / 0.9525 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.003541, allocations: 39.94 kB / 0.9525 GB, free: 9.996 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.003543, allocations: 3.938 kB / 0.9525 GB, free: 9.992 MB / 0.8575 GB Notification: Performance of FrontEnd: time 6.91e-07/0.003544, allocations: 0 / 0.9525 GB, free: 9.992 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.003547, allocations: 0 / 0.9525 GB, free: 9.992 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003923/0.00394, allocations: 262.2 kB / 0.9527 GB, free: 9.707 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.003975, allocations: 12.03 kB / 0.9528 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.179e-05/0.004017, allocations: 4.875 kB / 0.9528 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.004147, allocations: 109.8 kB / 0.9529 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.004159, allocations: 384 / 0.9529 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.304e-06/0.004166, allocations: 384 / 0.9529 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.899e-05/0.004245, allocations: 30.27 kB / 0.9529 GB, free: 9.523 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.004256, allocations: 3.938 kB / 0.9529 GB, free: 9.52 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.004265, allocations: 4 kB / 0.9529 GB, free: 9.516 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.004269, allocations: 0 / 0.9529 GB, free: 9.516 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.416e-05/0.004303, allocations: 7.984 kB / 0.9529 GB, free: 9.508 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001357/0.004439, allocations: 97.33 kB / 0.953 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.982e-05/0.004499, allocations: 34.55 kB / 0.953 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.933e-05/0.004518, allocations: 4.859 kB / 0.953 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004994/0.005018, allocations: 91.97 kB / 0.9531 GB, free: 9.242 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.005048, allocations: 30.56 kB / 0.9532 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.005049, allocations: 0 / 0.9532 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001514/0.0052, allocations: 53.53 kB / 0.9532 GB, free: 9.145 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.005246, allocations: 51.41 kB / 0.9533 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.267e-05/0.005329, allocations: 97.97 kB / 0.9534 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.005344, allocations: 29.7 kB / 0.9534 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.829e-05/0.005382, allocations: 80.14 kB / 0.9535 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.005407, allocations: 11.95 kB / 0.9535 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.044e-05/0.005437, allocations: 9.719 kB / 0.9535 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.005574, allocations: 314.8 kB / 0.9538 GB, free: 8.516 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.223e-05/0.005586, allocations: 0 / 0.9538 GB, free: 8.516 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.514e-05/0.005602, allocations: 11.98 kB / 0.9538 GB, free: 8.504 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.023e-05/0.005632, allocations: 8.859 kB / 0.9538 GB, free: 8.492 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.005634, allocations: 0 / 0.9538 GB, free: 8.492 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.369e-05/0.005707, allocations: 45.7 kB / 0.9538 GB, free: 8.441 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.005724, allocations: 8 kB / 0.9539 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.005727, allocations: 0 / 0.9539 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.005743, allocations: 3.938 kB / 0.9539 GB, free: 8.43 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.051e-05/0.005794, allocations: 4.188 kB / 0.9539 GB, free: 8.426 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.82e-06/0.0058, allocations: 7.922 kB / 0.9539 GB, free: 8.418 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.875e-05/0.005818, allocations: 0 / 0.9539 GB, free: 8.418 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-06/0.005822, allocations: 0 / 0.9539 GB, free: 8.418 MB / 0.8575 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 (2): * Single equations (assignments): 2 * 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 7.712e-05/0.005899, allocations: 113.8 kB / 0.954 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.106e-05/0.00591, allocations: 3.984 kB / 0.954 GB, free: 8.293 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.828e-05/0.006009, allocations: 52.97 kB / 0.954 GB, free: 8.234 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.006012, allocations: 3.938 kB / 0.954 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.006019, allocations: 4 kB / 0.954 GB, free: 8.227 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.006021, allocations: 0 / 0.954 GB, free: 8.227 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.159e-05/0.006113, allocations: 105.3 kB / 0.9541 GB, free: 8.094 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.006114, allocations: 3.938 kB / 0.9541 GB, free: 8.09 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.533e-05/0.006139, allocations: 4 kB / 0.9541 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.006145, allocations: 3.984 kB / 0.9541 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.77e-06/0.006151, allocations: 0 / 0.9541 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.006154, allocations: 4 kB / 0.9542 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.006157, allocations: 7.969 kB / 0.9542 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.988e-05/0.006247, allocations: 61.14 kB / 0.9542 GB, free: 7.992 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.205e-05/0.006259, allocations: 7.953 kB / 0.9542 GB, free: 7.984 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.006272, allocations: 3.984 kB / 0.9542 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.703e-05/0.006289, allocations: 0 / 0.9542 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.379e-05/0.006303, allocations: 3.938 kB / 0.9542 GB, free: 7.977 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.006305, allocations: 0 / 0.9542 GB, free: 7.977 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.296e-05/0.006348, allocations: 79.28 kB / 0.9543 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.006348, allocations: 0 / 0.9543 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002065/0.006555, allocations: 19.94 kB / 0.9543 GB, free: 7.879 MB / 0.8575 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 (2): * Single equations (assignments): 2 * 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.0001725/0.006727, allocations: 119.2 kB / 0.9544 GB, free: 7.754 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.595e-05/0.006803, allocations: 4 kB / 0.9544 GB, free: 7.75 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.006805, allocations: 0 / 0.9544 GB, free: 7.75 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.233e-05/0.006818, allocations: 7.984 kB / 0.9545 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.007041, allocations: 10.23 kB / 0.9545 GB, free: 7.734 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002546/0.007296, allocations: 100.9 kB / 0.9546 GB, free: 7.609 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.198e-05/0.007348, allocations: 59.3 kB / 0.9546 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.442e-05/0.007372, allocations: 8.125 kB / 0.9546 GB, free: 7.523 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.163e-05/0.007394, allocations: 12.48 kB / 0.9546 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of SimCode: time 3.11e-07/0.007394, allocations: 0 / 0.9546 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of Templates: time 0.003244/0.01064, allocations: 0.6516 MB / 0.9553 GB, free: 6.867 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.750731993466616]