Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001141/0.001141, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 187.9 kB / 16.66 MB, free: 6.582 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.619/2.619, allocations: 437 MB / 0.7105 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 63.89 kB / 1.019 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2842, allocations: 151.6 MB / 1.167 GB, free: 6.945 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002431/0.2867, allocations: 1.286 MB / 1.168 GB, free: 5.645 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0005923/0.2873, allocations: 311.2 kB / 1.168 GB, free: 5.34 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.093e-05/0.2874, allocations: 3.938 kB / 1.168 GB, free: 5.336 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.027e-05/0.2874, allocations: 0 / 1.168 GB, free: 5.336 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.239e-05/0.2875, allocations: 11.92 kB / 1.168 GB, free: 5.324 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003031/0.2878, allocations: 67.72 kB / 1.168 GB, free: 5.258 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.381e-05/0.2879, allocations: 47.84 kB / 1.168 GB, free: 5.211 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.101e-05/0.288, allocations: 3.984 kB / 1.168 GB, free: 5.207 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.2881, allocations: 27.92 kB / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.731e-05/0.2882, allocations: 15.92 kB / 1.168 GB, free: 5.164 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.2882, allocations: 0 / 1.168 GB, free: 5.164 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.2883, allocations: 87.91 kB / 1.168 GB, free: 5.078 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.429e-05/0.2884, allocations: 0 / 1.168 GB, free: 5.078 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.031e-05/0.2884, allocations: 11.94 kB / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.2886, allocations: 75.72 kB / 1.168 GB, free: 4.992 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.2886, allocations: 0 / 1.168 GB, free: 4.992 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2886, allocations: 3.938 kB / 1.168 GB, free: 4.988 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.2886, allocations: 0 / 1.168 GB, free: 4.988 MB / 0.92 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.0003742/0.289, allocations: 359.2 kB / 1.169 GB, free: 4.59 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.289, allocations: 12.03 kB / 1.169 GB, free: 4.578 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.19e-05/0.2891, allocations: 4.938 kB / 1.169 GB, free: 4.574 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.2892, allocations: 176.3 kB / 1.169 GB, free: 4.363 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.2892, allocations: 4.375 kB / 1.169 GB, free: 4.359 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.2892, allocations: 384 / 1.169 GB, free: 4.359 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.699e-05/0.2893, allocations: 45.61 kB / 1.169 GB, free: 4.309 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.2893, allocations: 0 / 1.169 GB, free: 4.309 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.2894, allocations: 0 / 1.169 GB, free: 4.309 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.2894, allocations: 0 / 1.169 GB, free: 4.309 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.359e-05/0.2894, allocations: 12 kB / 1.169 GB, free: 4.297 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001471/0.2896, allocations: 161.6 kB / 1.169 GB, free: 4.09 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.148e-05/0.2897, allocations: 38.52 kB / 1.169 GB, free: 4.043 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.122e-05/0.2897, allocations: 8.922 kB / 1.169 GB, free: 4.031 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001069/0.2908, allocations: 1.191 MB / 1.17 GB, free: 2.582 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.2908, allocations: 34.56 kB / 1.17 GB, free: 2.539 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.2908, allocations: 0 / 1.17 GB, free: 2.539 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.000167/0.291, allocations: 53.64 kB / 1.171 GB, free: 2.48 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.291, allocations: 55.34 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.926e-05/0.2911, allocations: 105.8 kB / 1.171 GB, free: 2.301 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.2911, allocations: 25.7 kB / 1.171 GB, free: 2.27 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.144e-05/0.2912, allocations: 80.14 kB / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.882e-05/0.2912, allocations: 23.88 kB / 1.171 GB, free: 2.164 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.2912, allocations: 13.72 kB / 1.171 GB, free: 2.145 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.2914, allocations: 310.8 kB / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.909e-05/0.2914, allocations: 8 kB / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.332e-05/0.2914, allocations: 4 kB / 1.171 GB, free: 1.82 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.63e-05/0.2914, allocations: 16.84 kB / 1.171 GB, free: 1.801 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2915, allocations: 0 / 1.171 GB, free: 1.801 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.885e-05/0.2915, allocations: 53.52 kB / 1.171 GB, free: 1.742 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.2916, allocations: 15.94 kB / 1.171 GB, free: 1.727 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2916, allocations: 4 kB / 1.171 GB, free: 1.723 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.2916, allocations: 0 / 1.171 GB, free: 1.723 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.418e-05/0.2916, allocations: 4 kB / 1.171 GB, free: 1.719 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.2917, allocations: 320 / 1.171 GB, free: 1.719 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.089e-05/0.2917, allocations: 8 kB / 1.171 GB, free: 1.711 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.2917, allocations: 0 / 1.171 GB, free: 1.711 MB / 0.92 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 7.471e-05/0.2918, allocations: 105.8 kB / 1.171 GB, free: 1.598 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.391e-05/0.2918, allocations: 7.938 kB / 1.171 GB, free: 1.59 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001339/0.2919, allocations: 65.89 kB / 1.171 GB, free: 1.512 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.2919, allocations: 4 kB / 1.171 GB, free: 1.508 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.292, allocations: 0 / 1.171 GB, free: 1.508 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.292, allocations: 7.969 kB / 1.171 GB, free: 1.5 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.2921, allocations: 153.7 kB / 1.172 GB, free: 1.301 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2921, allocations: 3.938 kB / 1.172 GB, free: 1.297 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.855e-05/0.2921, allocations: 8 kB / 1.172 GB, free: 1.289 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2921, allocations: 0 / 1.172 GB, free: 1.289 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.2922, allocations: 4 kB / 1.172 GB, free: 1.285 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.2922, allocations: 0 / 1.172 GB, free: 1.285 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.2922, allocations: 3.984 kB / 1.172 GB, free: 1.281 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.613e-05/0.2923, allocations: 73.08 kB / 1.172 GB, free: 1.191 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.882e-05/0.2923, allocations: 85.05 kB / 1.172 GB, free: 1.09 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.2924, allocations: 4 kB / 1.172 GB, free: 1.086 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.852e-05/0.2924, allocations: 3.938 kB / 1.172 GB, free: 1.082 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.896e-05/0.2924, allocations: 3.984 kB / 1.172 GB, free: 1.078 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.2924, allocations: 8 kB / 1.172 GB, free: 1.07 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.097e-05/0.2925, allocations: 83.28 kB / 1.172 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.512e-06/0.2925, allocations: 0 / 1.172 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002356/0.2927, allocations: 35.8 kB / 1.172 GB, free: 0.9531 MB / 0.92 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.0001902/0.2929, allocations: 131.1 kB / 1.172 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 8.577e-05/0.293, allocations: 12 kB / 1.172 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.293, allocations: 0 / 1.172 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.683e-05/0.293, allocations: 11.98 kB / 1.172 GB, free: 0.793 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001873/0.2932, allocations: 19.88 kB / 1.172 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002757/0.2935, allocations: 117.9 kB / 1.172 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.2938, allocations: 0.6768 MB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.203e-05/0.2938, allocations: 11.95 kB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.843e-05/0.2939, allocations: 11.44 kB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of SimCode: time 2e-07/0.2939, allocations: 0 / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of Templates: time 0.002802/0.2967, allocations: 0.7807 MB / 1.174 GB, free: 15.13 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches