Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008806/0.0008806, allocations: 80.53 kB / 19.93 MB, free: 4.605 MB / 18.57 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.0008045/0.0008045, allocations: 181.2 kB / 23.22 MB, free: 1.316 MB / 18.57 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 0.9001/0.9001, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.827/1.827, allocations: 377.8 MB / 0.6228 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 177] 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.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_12_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_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.9822 GB, free: 2.105 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.641e-05/2.8e-05, allocations: 6.281 kB / 0.9822 GB, free: 2.098 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001703/0.001731, allocations: 1.277 MB / 0.9834 GB, free: 0.8125 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0002693/0.002001, allocations: 99.61 kB / 0.9835 GB, free: 0.7148 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.76e-05/0.002028, allocations: 4 kB / 0.9835 GB, free: 0.7109 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.997e-05/0.002048, allocations: 0 / 0.9835 GB, free: 0.7109 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.652e-05/0.002125, allocations: 3.938 kB / 0.9835 GB, free: 0.707 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002232/0.002348, allocations: 43.88 kB / 0.9836 GB, free: 0.6641 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.444e-05/0.002412, allocations: 19.86 kB / 0.9836 GB, free: 0.6445 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.65e-05/0.002459, allocations: 0 / 0.9836 GB, free: 0.6445 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 3.954e-05/0.002498, allocations: 4 kB / 0.9836 GB, free: 0.6406 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 6.187e-05/0.00256, allocations: 11.92 kB / 0.9836 GB, free: 0.6289 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.002577, allocations: 4 kB / 0.9836 GB, free: 0.625 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.002689, allocations: 47.89 kB / 0.9837 GB, free: 0.5781 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.656e-05/0.002705, allocations: 7.984 kB / 0.9837 GB, free: 0.5703 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.027e-05/0.002726, allocations: 11.92 kB / 0.9837 GB, free: 0.5586 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.002853, allocations: 39.94 kB / 0.9837 GB, free: 0.5195 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.002855, allocations: 0 / 0.9837 GB, free: 0.5195 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.213e-06/0.002856, allocations: 0 / 0.9837 GB, free: 0.5195 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.00286, allocations: 0 / 0.9837 GB, free: 0.5195 MB / 0.9323 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.0003765/0.003236, allocations: 262.2 kB / 0.984 GB, free: 240 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.003284, allocations: 8.031 kB / 0.984 GB, free: 232 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.945e-05/0.003314, allocations: 4.938 kB / 0.984 GB, free: 228 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.003427, allocations: 109.8 kB / 0.9841 GB, free: 92 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.003439, allocations: 384 / 0.9841 GB, free: 92 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.003449, allocations: 384 / 0.9841 GB, free: 92 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.122e-05/0.00353, allocations: 38.25 kB / 0.9841 GB, free: 48 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.00354, allocations: 3.938 kB / 0.9841 GB, free: 44 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.619e-06/0.00355, allocations: 0 / 0.9841 GB, free: 44 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.003554, allocations: 0 / 0.9841 GB, free: 44 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.676e-05/0.003591, allocations: 11.94 kB / 0.9841 GB, free: 32 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001354/0.003727, allocations: 97.33 kB / 0.9842 GB, free: 15.91 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.243e-05/0.003779, allocations: 30.59 kB / 0.9843 GB, free: 15.87 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.815e-05/0.003797, allocations: 8.922 kB / 0.9843 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003071/0.004104, allocations: 87.92 kB / 0.9844 GB, free: 15.77 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.004126, allocations: 34.5 kB / 0.9844 GB, free: 15.73 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.004127, allocations: 0 / 0.9844 GB, free: 15.73 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0001444/0.004271, allocations: 53.56 kB / 0.9844 GB, free: 15.67 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.004306, allocations: 51.41 kB / 0.9845 GB, free: 15.61 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.914e-05/0.004365, allocations: 101.8 kB / 0.9846 GB, free: 15.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.004376, allocations: 29.83 kB / 0.9846 GB, free: 15.46 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.507e-05/0.004401, allocations: 80.14 kB / 0.9847 GB, free: 15.38 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.004432, allocations: 11.95 kB / 0.9847 GB, free: 15.37 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.473e-05/0.004457, allocations: 13.7 kB / 0.9847 GB, free: 15.35 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.748e-05/0.004545, allocations: 310.8 kB / 0.985 GB, free: 15.04 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.057e-05/0.004555, allocations: 4 kB / 0.985 GB, free: 15.03 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.031e-05/0.004566, allocations: 8 kB / 0.985 GB, free: 15.02 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.566e-05/0.004591, allocations: 8.859 kB / 0.985 GB, free: 15.01 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.004594, allocations: 0 / 0.985 GB, free: 15.01 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.681e-05/0.00464, allocations: 49.69 kB / 0.9851 GB, free: 14.96 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.004652, allocations: 8 kB / 0.9851 GB, free: 14.95 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.004658, allocations: 0 / 0.9851 GB, free: 14.95 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.004671, allocations: 3.938 kB / 0.9851 GB, free: 14.95 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.74e-05/0.004719, allocations: 4 kB / 0.9851 GB, free: 14.94 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.004725, allocations: 3.984 kB / 0.9851 GB, free: 14.94 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.148e-05/0.004737, allocations: 0 / 0.9851 GB, free: 14.94 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.004741, allocations: 0 / 0.9851 GB, free: 14.94 MB / 0.948 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 5.631e-05/0.004797, allocations: 105.8 kB / 0.9852 GB, free: 14.82 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.429e-06/0.004802, allocations: 4 kB / 0.9852 GB, free: 14.82 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.028e-05/0.004882, allocations: 56.91 kB / 0.9853 GB, free: 14.76 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.004885, allocations: 3.938 kB / 0.9853 GB, free: 14.76 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.00489, allocations: 0 / 0.9853 GB, free: 14.76 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.004893, allocations: 0 / 0.9853 GB, free: 14.76 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.627e-05/0.004959, allocations: 109.3 kB / 0.9854 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.00496, allocations: 0 / 0.9854 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.046e-05/0.00497, allocations: 4 kB / 0.9854 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.004972, allocations: 0 / 0.9854 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.004979, allocations: 0 / 0.9854 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.004979, allocations: 0 / 0.9854 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.004982, allocations: 7.938 kB / 0.9854 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.549e-05/0.005038, allocations: 69.11 kB / 0.9854 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.536e-06/0.005046, allocations: 4 kB / 0.9854 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.257e-06/0.005056, allocations: 0 / 0.9854 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.725e-06/0.005063, allocations: 4 kB / 0.9854 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.592e-05/0.005079, allocations: 3.938 kB / 0.9855 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.005081, allocations: 3.938 kB / 0.9855 GB, free: 14.51 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.09e-05/0.005112, allocations: 87.2 kB / 0.9855 GB, free: 14.42 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005112, allocations: 3.938 kB / 0.9855 GB, free: 14.42 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001346/0.005247, allocations: 15.94 kB / 0.9856 GB, free: 14.4 MB / 0.948 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.0001381/0.005385, allocations: 115.8 kB / 0.9857 GB, free: 14.28 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.787e-05/0.005453, allocations: 7.984 kB / 0.9857 GB, free: 14.27 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.005455, allocations: 0 / 0.9857 GB, free: 14.27 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.961e-06/0.005461, allocations: 4 kB / 0.9857 GB, free: 14.27 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001733/0.005634, allocations: 14.97 kB / 0.9857 GB, free: 14.26 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002498/0.005884, allocations: 130.4 kB / 0.9858 GB, free: 14.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.231e-05/0.005926, allocations: 59.34 kB / 0.9859 GB, free: 14.02 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.893e-05/0.005945, allocations: 16.62 kB / 0.9859 GB, free: 14 MB / 0.948 GB Notification: Performance of SimCode: time 4.71e-07/0.005945, allocations: 0 / 0.9859 GB, free: 14 MB / 0.948 GB Notification: Performance of Templates: time 0.001746/0.007691, allocations: 0.6132 MB / 0.9865 GB, free: 13.39 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.224346007220447]