Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002187/0.002187, allocations: 80.28 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.002165/0.002165, allocations: 163.9 kB / 22.46 MB, free: 5.355 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.466/1.466, allocations: 177.1 MB / 202.8 MB, free: 9.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.909/2.909, allocations: 377.8 MB / 0.6221 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.PowerLawFixedM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_12_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_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.103e-05/3.235e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002496/0.002528, allocations: 1.306 MB / 0.9827 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.000594/0.003122, allocations: 270.9 kB / 0.983 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.197e-05/0.003154, allocations: 0 / 0.983 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.543e-05/0.003179, allocations: 3.938 kB / 0.983 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.937e-05/0.003279, allocations: 7.984 kB / 0.983 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003389/0.003618, allocations: 83.7 kB / 0.983 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.432e-05/0.003712, allocations: 39.8 kB / 0.9831 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.766e-05/0.00376, allocations: 3.938 kB / 0.9831 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.003919, allocations: 39.89 kB / 0.9831 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.79e-05/0.003967, allocations: 11.94 kB / 0.9831 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.003988, allocations: 4 kB / 0.9831 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001806/0.004169, allocations: 79.91 kB / 0.9832 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.474e-05/0.004183, allocations: 0 / 0.9832 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.205e-05/0.004215, allocations: 11.97 kB / 0.9832 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.00443, allocations: 87.7 kB / 0.9833 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.004432, allocations: 0 / 0.9833 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of FrontEnd: time 6.71e-07/0.004433, allocations: 3.938 kB / 0.9833 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.004438, allocations: 4 kB / 0.9833 GB, free: 10.01 MB / 0.9356 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.000453/0.004891, allocations: 290 kB / 0.9836 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.004932, allocations: 8.031 kB / 0.9836 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.678e-05/0.004969, allocations: 0.9375 kB / 0.9836 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.005096, allocations: 113.8 kB / 0.9837 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.898e-06/0.005106, allocations: 384 / 0.9837 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.005117, allocations: 4.375 kB / 0.9837 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.005251, allocations: 59.95 kB / 0.9838 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.005261, allocations: 3.938 kB / 0.9838 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.005276, allocations: 4 kB / 0.9838 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.005282, allocations: 4 kB / 0.9838 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.851e-05/0.005331, allocations: 11.92 kB / 0.9838 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001683/0.005499, allocations: 109.3 kB / 0.9839 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.419e-05/0.005593, allocations: 34.67 kB / 0.9839 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.233e-05/0.005616, allocations: 4.859 kB / 0.9839 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006802/0.006296, allocations: 139.9 kB / 0.9841 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.006326, allocations: 34.56 kB / 0.9841 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.006327, allocations: 3.938 kB / 0.9841 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0001781/0.006505, allocations: 61.52 kB / 0.9842 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.006557, allocations: 51.41 kB / 0.9842 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.745e-05/0.006655, allocations: 109.8 kB / 0.9843 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.006676, allocations: 29.7 kB / 0.9844 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.463e-05/0.006731, allocations: 80.14 kB / 0.9844 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.006757, allocations: 3.953 kB / 0.9844 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-05/0.006801, allocations: 13.72 kB / 0.9844 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.006971, allocations: 322.8 kB / 0.9848 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.937e-05/0.006991, allocations: 4 kB / 0.9848 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.091e-05/0.007002, allocations: 4 kB / 0.9848 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.187e-05/0.007043, allocations: 16.86 kB / 0.9848 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.007046, allocations: 3.938 kB / 0.9848 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001038/0.007149, allocations: 53.97 kB / 0.9848 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.007167, allocations: 10.19 kB / 0.9848 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.007172, allocations: 0 / 0.9848 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.007191, allocations: 3.938 kB / 0.9848 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.951e-05/0.00725, allocations: 7.984 kB / 0.9849 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.007256, allocations: 0 / 0.9849 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.017e-05/0.007276, allocations: 3.938 kB / 0.9849 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.007285, allocations: 8 kB / 0.9849 GB, free: 8.254 MB / 0.9356 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 9.726e-05/0.007382, allocations: 109.8 kB / 0.985 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.518e-05/0.007397, allocations: 7.984 kB / 0.985 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001435/0.007541, allocations: 53.94 kB / 0.985 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/0.007556, allocations: 11.88 kB / 0.985 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.007559, allocations: 0 / 0.985 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.007564, allocations: 3.984 kB / 0.985 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.007674, allocations: 109.3 kB / 0.9851 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.007675, allocations: 4 kB / 0.9852 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.064e-05/0.007706, allocations: 8 kB / 0.9852 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.007709, allocations: 0 / 0.9852 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.007719, allocations: 3.984 kB / 0.9852 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.007721, allocations: 0 / 0.9852 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.007726, allocations: 7.922 kB / 0.9852 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.007852, allocations: 77.06 kB / 0.9852 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.305e-05/0.007885, allocations: 7.938 kB / 0.9853 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.007896, allocations: 0 / 0.9853 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.611e-05/0.007932, allocations: 0 / 0.9853 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.65e-05/0.007959, allocations: 11.92 kB / 0.9853 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.007963, allocations: 4 kB / 0.9853 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.704e-05/0.00802, allocations: 87.28 kB / 0.9854 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.008021, allocations: 0 / 0.9854 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00022/0.008241, allocations: 31.86 kB / 0.9854 GB, free: 7.66 MB / 0.9356 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.000227/0.008468, allocations: 119.7 kB / 0.9855 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.527e-05/0.008553, allocations: 16 kB / 0.9855 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.008555, allocations: 0 / 0.9855 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.992e-05/0.008575, allocations: 11.92 kB / 0.9855 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.008776, allocations: 8 kB / 0.9855 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003377/0.009114, allocations: 124.7 kB / 0.9856 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.642e-05/0.00918, allocations: 63.34 kB / 0.9857 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.754e-05/0.009218, allocations: 4 kB / 0.9857 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.727e-05/0.009245, allocations: 16.5 kB / 0.9857 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of SimCode: time 3.81e-07/0.009245, allocations: 0 / 0.9857 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of Templates: time 0.003835/0.01308, allocations: 0.8113 MB / 0.9865 GB, free: 6.449 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.497120838612318]