Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001098/0.001098, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001572/0.00267, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001059/0.001059, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001377/0.002435, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.8996/0.8996, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07493/0.9745, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.301/2.301, allocations: 447.1 MB / 0.675 GB, free: 5.863 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2028/2.503, allocations: 146 MB / 0.8176 GB, free: 3.785 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_latest_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_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.8189 GB, free: 2.449 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024e-05/1.159e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.445 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001764/0.001776, allocations: 1.361 MB / 0.8203 GB, free: 1.066 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0001102/0.001886, allocations: 87.69 kB / 0.8203 GB, free: 0.9805 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.523e-05/0.001902, allocations: 0 / 0.8203 GB, free: 0.9805 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 6.212e-06/0.001908, allocations: 0 / 0.8203 GB, free: 0.9805 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.099e-05/0.001939, allocations: 15.86 kB / 0.8204 GB, free: 0.9648 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 8.201e-05/0.002021, allocations: 19.95 kB / 0.8204 GB, free: 0.9453 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 4.259e-05/0.002063, allocations: 19.88 kB / 0.8204 GB, free: 0.9258 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.262e-05/0.002096, allocations: 3.984 kB / 0.8204 GB, free: 0.9219 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 4.519e-05/0.002141, allocations: 8 kB / 0.8204 GB, free: 0.9141 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.767e-05/0.002189, allocations: 11.92 kB / 0.8204 GB, free: 0.9023 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 9.889e-06/0.002199, allocations: 0 / 0.8204 GB, free: 0.9023 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 9.085e-05/0.00229, allocations: 43.89 kB / 0.8205 GB, free: 0.8594 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.04e-05/0.0023, allocations: 8 kB / 0.8205 GB, free: 0.8516 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.233e-05/0.002312, allocations: 4 kB / 0.8205 GB, free: 0.8477 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 8.91e-05/0.002401, allocations: 35.89 kB / 0.8205 GB, free: 0.8125 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 9.297e-06/0.002411, allocations: 0 / 0.8205 GB, free: 0.8125 MB / 0.7917 GB Notification: Performance of FrontEnd: time 4.31e-07/0.002411, allocations: 0 / 0.8205 GB, free: 0.8125 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.002422, allocations: 0 / 0.8205 GB, free: 0.8125 MB / 0.7917 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.0002775/0.002699, allocations: 236.5 kB / 0.8207 GB, free: 0.5586 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.535e-05/0.002724, allocations: 8.031 kB / 0.8207 GB, free: 0.5508 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002138/0.002938, allocations: 106 kB / 0.8208 GB, free: 440 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.965e-05/0.003008, allocations: 109.7 kB / 0.8209 GB, free: 304 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.003018, allocations: 4.375 kB / 0.8209 GB, free: 300 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.003029, allocations: 4.375 kB / 0.821 GB, free: 296 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.978e-05/0.003119, allocations: 58.88 kB / 0.821 GB, free: 228 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.003125, allocations: 3.938 kB / 0.821 GB, free: 224 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-06/0.003132, allocations: 0 / 0.821 GB, free: 224 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.003136, allocations: 0 / 0.821 GB, free: 224 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.305e-05/0.003159, allocations: 11.98 kB / 0.821 GB, free: 212 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.349e-05/0.003233, allocations: 61 kB / 0.8211 GB, free: 136 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 4.499e-05/0.003278, allocations: 30.61 kB / 0.8211 GB, free: 96 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.477e-05/0.003293, allocations: 12.91 kB / 0.8211 GB, free: 80 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 8.366e-06/0.003301, allocations: 0 / 0.8211 GB, free: 80 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.00332, allocations: 38.5 kB / 0.8212 GB, free: 32 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=2): time 6.61e-07/0.00332, allocations: 0 / 0.8212 GB, free: 32 kB / 0.7917 GB Notification: Performance of matching and sorting (n=2): time 9.853e-05/0.003419, allocations: 41.69 kB / 0.8212 GB, free: 15.98 MB / 0.8074 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.332e-05/0.003442, allocations: 55.34 kB / 0.8213 GB, free: 15.92 MB / 0.8074 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.37e-05/0.003486, allocations: 102.7 kB / 0.8214 GB, free: 15.8 MB / 0.8074 GB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.003497, allocations: 29.7 kB / 0.8214 GB, free: 15.77 MB / 0.8074 GB Notification: Performance of collectInitialEqns (initialization): time 1.577e-05/0.003512, allocations: 80.14 kB / 0.8215 GB, free: 15.69 MB / 0.8074 GB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.003535, allocations: 8.109 kB / 0.8215 GB, free: 15.68 MB / 0.8074 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.52e-05/0.00356, allocations: 13.72 kB / 0.8215 GB, free: 15.66 MB / 0.8074 GB Notification: Performance of setup shared object (initialization): time 6.163e-05/0.003622, allocations: 314.8 kB / 0.8218 GB, free: 15.34 MB / 0.8074 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.177e-05/0.003633, allocations: 4 kB / 0.8218 GB, free: 15.34 MB / 0.8074 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.039e-05/0.003644, allocations: 4 kB / 0.8218 GB, free: 15.34 MB / 0.8074 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.832e-05/0.003672, allocations: 16.78 kB / 0.8218 GB, free: 15.32 MB / 0.8074 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.003674, allocations: 0 / 0.8218 GB, free: 15.32 MB / 0.8074 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.25e-05/0.003716, allocations: 41.7 kB / 0.8218 GB, free: 15.27 MB / 0.8074 GB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.003726, allocations: 4 kB / 0.8218 GB, free: 15.27 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.00373, allocations: 4.094 kB / 0.8218 GB, free: 15.26 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.003739, allocations: 0 / 0.8218 GB, free: 15.26 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.574e-05/0.003804, allocations: 11.98 kB / 0.8219 GB, free: 15.25 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.856e-06/0.003807, allocations: 3.938 kB / 0.8219 GB, free: 15.25 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.49e-05/0.003832, allocations: 11.89 kB / 0.8219 GB, free: 15.23 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.003837, allocations: 3.984 kB / 0.8219 GB, free: 15.23 MB / 0.8074 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 4.128e-05/0.003878, allocations: 105.8 kB / 0.822 GB, free: 15.12 MB / 0.8074 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.933e-06/0.003885, allocations: 3.938 kB / 0.822 GB, free: 15.11 MB / 0.8074 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.771e-05/0.003903, allocations: 7.312 kB / 0.822 GB, free: 15.11 MB / 0.8074 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.003904, allocations: 0 / 0.822 GB, free: 15.11 MB / 0.8074 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.003906, allocations: 11.94 kB / 0.822 GB, free: 15.1 MB / 0.8074 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.003908, allocations: 0 / 0.822 GB, free: 15.1 MB / 0.8074 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.101e-05/0.003959, allocations: 73.89 kB / 0.8221 GB, free: 15.01 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.00396, allocations: 0 / 0.8221 GB, free: 15.01 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.82e-05/0.003988, allocations: 4 kB / 0.8221 GB, free: 15 MB / 0.8074 GB Notification: Performance of postOpt removeConstants (simulation): time 4.669e-06/0.003993, allocations: 0 / 0.8221 GB, free: 15 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.31e-07/0.003994, allocations: 4 kB / 0.8221 GB, free: 15 MB / 0.8074 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-06/0.003999, allocations: 3.984 kB / 0.8221 GB, free: 15 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-07/0.003999, allocations: 0 / 0.8221 GB, free: 15 MB / 0.8074 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.004, allocations: 0 / 0.8221 GB, free: 15 MB / 0.8074 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.402e-05/0.004054, allocations: 69.06 kB / 0.8222 GB, free: 14.91 MB / 0.8074 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.415e-06/0.004063, allocations: 3.984 kB / 0.8222 GB, free: 14.91 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.12e-05/0.004084, allocations: 4 kB / 0.8222 GB, free: 14.9 MB / 0.8074 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.021e-05/0.004094, allocations: 0 / 0.8222 GB, free: 14.9 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.004096, allocations: 3.938 kB / 0.8222 GB, free: 14.9 MB / 0.8074 GB Notification: Performance of sorting global known variables: time 8.676e-06/0.004105, allocations: 8.859 kB / 0.8222 GB, free: 14.89 MB / 0.8074 GB Notification: Performance of sort global known variables: time 6e-08/0.004105, allocations: 0 / 0.8222 GB, free: 14.89 MB / 0.8074 GB Notification: Performance of remove unused functions: time 9.064e-05/0.004196, allocations: 7.938 kB / 0.8222 GB, free: 14.88 MB / 0.8074 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 5.874e-05/0.004255, allocations: 80.41 kB / 0.8223 GB, free: 14.79 MB / 0.8074 GB Notification: Performance of simCode: created initialization part: time 5.69e-05/0.004311, allocations: 24.89 kB / 0.8223 GB, free: 14.76 MB / 0.8074 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.004314, allocations: 0 / 0.8223 GB, free: 14.76 MB / 0.8074 GB Notification: Performance of simCode: created simulation system equations: time 1.859e-05/0.004333, allocations: 12.8 kB / 0.8223 GB, free: 14.75 MB / 0.8074 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001075/0.00444, allocations: 75.25 kB / 0.8224 GB, free: 14.66 MB / 0.8074 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006275/0.005068, allocations: 144.8 kB / 0.8225 GB, free: 14.49 MB / 0.8074 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.223e-05/0.00509, allocations: 51.36 kB / 0.8225 GB, free: 14.42 MB / 0.8074 GB Notification: Performance of simCode: alias equations: time 3.623e-05/0.005126, allocations: 8 kB / 0.8226 GB, free: 14.41 MB / 0.8074 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.823e-05/0.005184, allocations: 59.38 kB / 0.8226 GB, free: 14.36 MB / 0.8074 GB Notification: Performance of SimCode: time 4.21e-07/0.005185, allocations: 4 kB / 0.8226 GB, free: 14.35 MB / 0.8074 GB Notification: Performance of Templates: time 0.001702/0.006887, allocations: 0.7099 MB / 0.8233 GB, free: 13.65 MB / 0.8074 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.790432313457131]