Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.001672/0.001672, allocations: 82.48 kB / 19.18 MB, free: 2.527 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.00191/0.00191, allocations: 169.8 kB / 22.46 MB, free: 5.359 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.522/1.522, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.879/2.879, allocations: 389 MB / 0.633 GB, free: 1.043 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.PowerLawFixedM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 1 GB, free: 7.34 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.673e-05/2.843e-05, allocations: 2.281 kB / 1 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002519/0.002548, allocations: 1.304 MB / 1.001 GB, free: 6.023 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.000556/0.003104, allocations: 259 kB / 1.002 GB, free: 5.77 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.76e-05/0.003141, allocations: 3.938 kB / 1.002 GB, free: 5.766 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.938e-05/0.003161, allocations: 3.938 kB / 1.002 GB, free: 5.762 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.003261, allocations: 11.98 kB / 1.002 GB, free: 5.75 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003102/0.003572, allocations: 59.73 kB / 1.002 GB, free: 5.691 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.504e-05/0.003657, allocations: 43.78 kB / 1.002 GB, free: 5.648 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.343e-05/0.0037, allocations: 3.938 kB / 1.002 GB, free: 5.645 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.003848, allocations: 39.95 kB / 1.002 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.607e-05/0.003904, allocations: 15.92 kB / 1.002 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.003921, allocations: 4 kB / 1.002 GB, free: 5.586 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.004078, allocations: 63.86 kB / 1.002 GB, free: 5.523 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.529e-05/0.004093, allocations: 0 / 1.002 GB, free: 5.523 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.475e-05/0.004118, allocations: 7.938 kB / 1.002 GB, free: 5.516 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.004322, allocations: 79.83 kB / 1.002 GB, free: 5.438 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.004324, allocations: 0 / 1.002 GB, free: 5.438 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.61e-07/0.004325, allocations: 0 / 1.002 GB, free: 5.438 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.004328, allocations: 4 kB / 1.002 GB, free: 5.434 MB / 0.9512 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.0003925/0.004721, allocations: 278.1 kB / 1.002 GB, free: 5.133 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.004757, allocations: 8.031 kB / 1.002 GB, free: 5.125 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005019/0.005259, allocations: 52.8 kB / 1.002 GB, free: 5.074 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.005386, allocations: 105.8 kB / 1.002 GB, free: 4.945 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.005409, allocations: 384 / 1.002 GB, free: 4.945 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.005424, allocations: 4.375 kB / 1.002 GB, free: 4.941 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002293/0.005653, allocations: 95.84 kB / 1.002 GB, free: 4.836 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.005664, allocations: 3.938 kB / 1.003 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.005678, allocations: 0 / 1.003 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.005685, allocations: 7.938 kB / 1.003 GB, free: 4.824 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001704/0.005855, allocations: 31.97 kB / 1.003 GB, free: 4.793 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004775/0.006333, allocations: 224.4 kB / 1.003 GB, free: 4.543 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/0.006489, allocations: 38.56 kB / 1.003 GB, free: 4.496 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.443e-05/0.006553, allocations: 20.84 kB / 1.003 GB, free: 4.473 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.00657, allocations: 0 / 1.003 GB, free: 4.473 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.006604, allocations: 38.5 kB / 1.003 GB, free: 4.426 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.006605, allocations: 0 / 1.003 GB, free: 4.426 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0002908/0.006896, allocations: 61.67 kB / 1.003 GB, free: 4.359 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.006947, allocations: 51.41 kB / 1.003 GB, free: 4.297 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.187e-05/0.007039, allocations: 114 kB / 1.003 GB, free: 4.176 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.00706, allocations: 29.7 kB / 1.003 GB, free: 4.141 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.348e-05/0.007113, allocations: 84.12 kB / 1.003 GB, free: 4.055 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/0.007131, allocations: 3.953 kB / 1.003 GB, free: 4.051 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.898e-05/0.00718, allocations: 17.67 kB / 1.003 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.007324, allocations: 314.8 kB / 1.003 GB, free: 3.711 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.187e-05/0.007385, allocations: 11.98 kB / 1.004 GB, free: 3.699 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.236e-05/0.007438, allocations: 15.98 kB / 1.004 GB, free: 3.684 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.007548, allocations: 32.84 kB / 1.004 GB, free: 3.648 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.00755, allocations: 0 / 1.004 GB, free: 3.648 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001751/0.007725, allocations: 61.61 kB / 1.004 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.007739, allocations: 4 kB / 1.004 GB, free: 3.578 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.007744, allocations: 0 / 1.004 GB, free: 3.578 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.007758, allocations: 0 / 1.004 GB, free: 3.578 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.361e-05/0.007851, allocations: 8 kB / 1.004 GB, free: 3.57 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.007856, allocations: 0 / 1.004 GB, free: 3.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.484e-05/0.00791, allocations: 7.984 kB / 1.004 GB, free: 3.562 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-06/0.007917, allocations: 4.031 kB / 1.004 GB, free: 3.559 MB / 0.9512 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 8.651e-05/0.008003, allocations: 109.8 kB / 1.004 GB, free: 3.441 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.008031, allocations: 3.938 kB / 1.004 GB, free: 3.438 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.15e-05/0.008063, allocations: 19.5 kB / 1.004 GB, free: 3.418 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.008065, allocations: 0 / 1.004 GB, free: 3.418 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.008068, allocations: 0 / 1.004 GB, free: 3.418 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.00807, allocations: 0 / 1.004 GB, free: 3.418 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.008234, allocations: 109.3 kB / 1.004 GB, free: 3.281 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.008235, allocations: 0 / 1.004 GB, free: 3.281 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.752e-05/0.008302, allocations: 7.984 kB / 1.004 GB, free: 3.273 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.008306, allocations: 7.938 kB / 1.004 GB, free: 3.266 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-06/0.008313, allocations: 0 / 1.004 GB, free: 3.266 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.008315, allocations: 0 / 1.004 GB, free: 3.266 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.008315, allocations: 0 / 1.004 GB, free: 3.266 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002287/0.008544, allocations: 155.5 kB / 1.004 GB, free: 3.098 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.428e-05/0.008578, allocations: 11.92 kB / 1.004 GB, free: 3.086 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.008593, allocations: 0 / 1.004 GB, free: 3.086 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.625e-05/0.008679, allocations: 11.92 kB / 1.004 GB, free: 3.074 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.563e-05/0.008694, allocations: 0 / 1.004 GB, free: 3.074 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.008699, allocations: 4.031 kB / 1.004 GB, free: 3.07 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.941e-05/0.008759, allocations: 95.2 kB / 1.004 GB, free: 2.977 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.008759, allocations: 0 / 1.004 GB, free: 2.977 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002248/0.008983, allocations: 4 kB / 1.004 GB, free: 2.973 MB / 0.9512 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.0001173/0.009101, allocations: 99.23 kB / 1.004 GB, free: 2.867 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001704/0.009271, allocations: 23.98 kB / 1.004 GB, free: 2.844 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.009273, allocations: 0 / 1.004 GB, free: 2.844 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 6.085e-05/0.009334, allocations: 16.05 kB / 1.004 GB, free: 2.828 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.009618, allocations: 4.062 kB / 1.004 GB, free: 2.824 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004064/0.01002, allocations: 136.6 kB / 1.004 GB, free: 2.664 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.343e-05/0.0101, allocations: 63.34 kB / 1.004 GB, free: 2.582 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.353e-05/0.01014, allocations: 4 kB / 1.004 GB, free: 2.578 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.586e-05/0.01018, allocations: 8.5 kB / 1.004 GB, free: 2.57 MB / 0.9512 GB Notification: Performance of SimCode: time 5.72e-07/0.01018, allocations: 4 kB / 1.004 GB, free: 2.566 MB / 0.9512 GB Notification: Performance of Templates: time 0.002968/0.01315, allocations: 443.1 kB / 1.005 GB, free: 2.141 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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: 8.046256307512522]