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.001896/0.001896, allocations: 79.03 kB / 19.76 MB, free: 2.031 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.002211/0.002211, allocations: 157.2 kB / 23.01 MB, free: 4.945 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.421/1.421, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.631/2.631, allocations: 359.1 MB / 0.6044 GB, free: 14.83 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002212/0.002212, allocations: 63.89 kB / 0.9515 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2886, allocations: 169.9 MB / 1.117 GB, free: 2.523 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002489/0.2911, allocations: 1.271 MB / 1.119 GB, free: 1.242 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0003051/0.2914, allocations: 107.6 kB / 1.119 GB, free: 1.137 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.571e-05/0.2914, allocations: 0 / 1.119 GB, free: 1.137 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.073e-05/0.2914, allocations: 3.938 kB / 1.119 GB, free: 1.133 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.63e-05/0.2915, allocations: 0 / 1.119 GB, free: 1.133 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002076/0.2917, allocations: 43.81 kB / 1.119 GB, free: 1.09 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.203e-05/0.2917, allocations: 19.92 kB / 1.119 GB, free: 1.07 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.164e-05/0.2918, allocations: 4 kB / 1.119 GB, free: 1.066 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.838e-05/0.2918, allocations: 3.938 kB / 1.119 GB, free: 1.062 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.544e-05/0.2918, allocations: 4 kB / 1.119 GB, free: 1.059 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.017e-05/0.2919, allocations: 0 / 1.119 GB, free: 1.059 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.292, allocations: 47.94 kB / 1.119 GB, free: 1.012 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.38e-05/0.292, allocations: 4 kB / 1.119 GB, free: 1.008 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.185e-05/0.292, allocations: 7.938 kB / 1.119 GB, free: 1 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001156/0.2921, allocations: 39.88 kB / 1.119 GB, free: 0.9609 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2921, allocations: 0 / 1.119 GB, free: 0.9609 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2921, allocations: 4 kB / 1.119 GB, free: 0.957 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.2921, allocations: 0 / 1.119 GB, free: 0.957 MB / 1.061 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.0003845/0.2925, allocations: 262.2 kB / 1.119 GB, free: 0.6719 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.2926, allocations: 11.97 kB / 1.119 GB, free: 0.6602 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.495e-05/0.2926, allocations: 0.9375 kB / 1.119 GB, free: 0.6602 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.2927, allocations: 110.5 kB / 1.119 GB, free: 0.5273 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.732e-06/0.2927, allocations: 384 / 1.119 GB, free: 0.5273 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-06/0.2927, allocations: 384 / 1.119 GB, free: 0.5273 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.384e-05/0.2928, allocations: 37.58 kB / 1.119 GB, free: 496 kB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.2928, allocations: 7.922 kB / 1.119 GB, free: 488 kB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.2928, allocations: 4 kB / 1.119 GB, free: 484 kB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.2928, allocations: 4 kB / 1.119 GB, free: 480 kB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.861e-05/0.2928, allocations: 7.984 kB / 1.119 GB, free: 472 kB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000132/0.293, allocations: 97.33 kB / 1.119 GB, free: 344 kB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.495e-05/0.293, allocations: 26.61 kB / 1.12 GB, free: 308 kB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.786e-05/0.293, allocations: 4.859 kB / 1.12 GB, free: 300 kB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004774/0.2935, allocations: 87.97 kB / 1.12 GB, free: 212 kB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.2935, allocations: 38.44 kB / 1.12 GB, free: 164 kB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.2935, allocations: 0 / 1.12 GB, free: 164 kB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001344/0.2937, allocations: 45.7 kB / 1.12 GB, free: 112 kB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.2937, allocations: 51.41 kB / 1.12 GB, free: 48 kB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.528e-05/0.2938, allocations: 97.84 kB / 1.12 GB, free: 15.94 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.2938, allocations: 25.7 kB / 1.12 GB, free: 15.91 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.063e-05/0.2939, allocations: 84.14 kB / 1.12 GB, free: 15.82 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.2939, allocations: 7.953 kB / 1.12 GB, free: 15.82 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.879e-05/0.2939, allocations: 9.719 kB / 1.12 GB, free: 15.8 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.2941, allocations: 314.8 kB / 1.12 GB, free: 15.48 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.427e-05/0.2941, allocations: 3.984 kB / 1.12 GB, free: 15.48 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.405e-05/0.2941, allocations: 12.12 kB / 1.12 GB, free: 15.47 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3e-05/0.2941, allocations: 12.8 kB / 1.12 GB, free: 15.45 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.2941, allocations: 0 / 1.12 GB, free: 15.45 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.002e-05/0.2942, allocations: 45.66 kB / 1.12 GB, free: 15.4 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.2942, allocations: 7.938 kB / 1.12 GB, free: 15.39 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.2942, allocations: 0 / 1.12 GB, free: 15.39 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.2942, allocations: 0 / 1.12 GB, free: 15.39 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.057e-05/0.2943, allocations: 7.984 kB / 1.12 GB, free: 15.39 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.2943, allocations: 0 / 1.12 GB, free: 15.39 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.769e-05/0.2943, allocations: 0 / 1.12 GB, free: 15.39 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-06/0.2943, allocations: 4.094 kB / 1.12 GB, free: 15.38 MB / 1.076 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.239e-05/0.2944, allocations: 109.8 kB / 1.12 GB, free: 15.27 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.045e-05/0.2944, allocations: 3.938 kB / 1.12 GB, free: 15.26 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/0.2945, allocations: 52.92 kB / 1.12 GB, free: 15.2 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.2945, allocations: 0 / 1.12 GB, free: 15.2 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.2945, allocations: 4 kB / 1.12 GB, free: 15.2 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.2945, allocations: 7.938 kB / 1.121 GB, free: 15.19 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.758e-05/0.2946, allocations: 101.3 kB / 1.121 GB, free: 15.06 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2946, allocations: 4 kB / 1.121 GB, free: 15.06 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.509e-05/0.2946, allocations: 3.984 kB / 1.121 GB, free: 15.05 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.2946, allocations: 4.031 kB / 1.121 GB, free: 15.05 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.2946, allocations: 7.938 kB / 1.121 GB, free: 15.04 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2946, allocations: 0 / 1.121 GB, free: 15.04 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2946, allocations: 0 / 1.121 GB, free: 15.04 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.282e-05/0.2947, allocations: 61.08 kB / 1.121 GB, free: 14.96 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.223e-05/0.2947, allocations: 15.88 kB / 1.121 GB, free: 14.95 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.2947, allocations: 3.938 kB / 1.121 GB, free: 14.95 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.624e-05/0.2948, allocations: 0 / 1.121 GB, free: 14.95 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.431e-05/0.2948, allocations: 0 / 1.121 GB, free: 14.95 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/0.2948, allocations: 4 kB / 1.121 GB, free: 14.94 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.253e-05/0.2948, allocations: 83.31 kB / 1.121 GB, free: 14.86 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.2948, allocations: 0 / 1.121 GB, free: 14.86 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001988/0.295, allocations: 12 kB / 1.121 GB, free: 14.85 MB / 1.076 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.0001541/0.2952, allocations: 115.5 kB / 1.121 GB, free: 14.73 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 7.301e-05/0.2952, allocations: 8 kB / 1.121 GB, free: 14.72 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.2953, allocations: 0 / 1.121 GB, free: 14.72 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.558e-05/0.2953, allocations: 11.92 kB / 1.121 GB, free: 14.71 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.2955, allocations: 8 kB / 1.121 GB, free: 14.7 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002624/0.2957, allocations: 118.2 kB / 1.121 GB, free: 14.55 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.591e-05/0.2958, allocations: 55.36 kB / 1.121 GB, free: 14.48 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.139e-05/0.2958, allocations: 0 / 1.121 GB, free: 14.48 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.406e-05/0.2958, allocations: 16.48 kB / 1.121 GB, free: 14.46 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/0.2958, allocations: 0 / 1.121 GB, free: 14.46 MB / 1.076 GB Notification: Performance of Templates: time 0.002975/0.2988, allocations: 0.6463 MB / 1.122 GB, free: 13.82 MB / 1.076 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 -s ida -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/jenkins1/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: 8.094357175054029]