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.001193/0.001193, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001574/0.002767, allocations: 435.8 kB / 10.33 MB, free: 368 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.001044/0.001044, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001391/0.002435, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.033/1.033, allocations: 177.1 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1/1.133, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.4/2.4, allocations: 446.7 MB / 0.6745 GB, free: 6.199 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2363/2.636, allocations: 145.9 MB / 0.817 GB, free: 4.195 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.913e-06/1.913e-06, allocations: 0 / 0.8183 GB, free: 2.887 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.495e-05/2.686e-05, allocations: 8.703 kB / 0.8183 GB, free: 2.879 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002821/0.002848, allocations: 1.349 MB / 0.8196 GB, free: 1.516 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0001967/0.003045, allocations: 99.61 kB / 0.8197 GB, free: 1.418 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.249e-05/0.003067, allocations: 7.938 kB / 0.8197 GB, free: 1.41 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 9.207e-06/0.003077, allocations: 0 / 0.8197 GB, free: 1.41 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.214e-05/0.003119, allocations: 0 / 0.8197 GB, free: 1.41 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001359/0.003255, allocations: 35.83 kB / 0.8198 GB, free: 1.375 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.007e-05/0.003315, allocations: 11.92 kB / 0.8198 GB, free: 1.363 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.235e-05/0.003357, allocations: 7.984 kB / 0.8198 GB, free: 1.355 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 6.757e-05/0.003425, allocations: 11.92 kB / 0.8198 GB, free: 1.344 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.785e-05/0.003483, allocations: 4 kB / 0.8198 GB, free: 1.34 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.003501, allocations: 0 / 0.8198 GB, free: 1.34 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/0.00366, allocations: 43.95 kB / 0.8198 GB, free: 1.297 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.232e-05/0.003672, allocations: 0 / 0.8198 GB, free: 1.297 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.954e-05/0.003692, allocations: 4 kB / 0.8198 GB, free: 1.293 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.003829, allocations: 39.83 kB / 0.8199 GB, free: 1.254 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.729e-05/0.003846, allocations: 0 / 0.8199 GB, free: 1.254 MB / 0.7917 GB Notification: Performance of FrontEnd: time 9.72e-07/0.003847, allocations: 4 kB / 0.8199 GB, free: 1.25 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.087e-05/0.003868, allocations: 0 / 0.8199 GB, free: 1.25 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.000462/0.00433, allocations: 228.6 kB / 0.8201 GB, free: 1.004 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.004377, allocations: 12.62 kB / 0.8201 GB, free: 0.9922 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003387/0.004716, allocations: 102 kB / 0.8202 GB, free: 0.875 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.004837, allocations: 117.7 kB / 0.8203 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.853e-05/0.004855, allocations: 384 / 0.8203 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.004866, allocations: 4.375 kB / 0.8203 GB, free: 0.7305 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.005018, allocations: 58.92 kB / 0.8204 GB, free: 0.6641 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.00503, allocations: 3.938 kB / 0.8204 GB, free: 0.6602 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.005043, allocations: 4 kB / 0.8204 GB, free: 0.6562 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.005051, allocations: 0 / 0.8204 GB, free: 0.6562 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.415e-05/0.005095, allocations: 4 kB / 0.8204 GB, free: 0.6523 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001315/0.005227, allocations: 65 kB / 0.8204 GB, free: 0.5742 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 7.898e-05/0.005306, allocations: 30.53 kB / 0.8205 GB, free: 0.5352 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.499e-05/0.005331, allocations: 8.922 kB / 0.8205 GB, free: 0.5234 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.005346, allocations: 8 kB / 0.8205 GB, free: 0.5156 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.005377, allocations: 34.55 kB / 0.8205 GB, free: 484 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.005378, allocations: 0 / 0.8205 GB, free: 484 kB / 0.7917 GB Notification: Performance of matching and sorting (n=2): time 0.0001559/0.005534, allocations: 37.7 kB / 0.8206 GB, free: 440 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.005577, allocations: 59.34 kB / 0.8206 GB, free: 368 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.937e-05/0.005656, allocations: 102.7 kB / 0.8207 GB, free: 252 kB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.005672, allocations: 29.64 kB / 0.8207 GB, free: 216 kB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 2.806e-05/0.0057, allocations: 84.08 kB / 0.8208 GB, free: 128 kB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 3.37e-05/0.005733, allocations: 0 / 0.8208 GB, free: 128 kB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.078e-05/0.005784, allocations: 17.7 kB / 0.8208 GB, free: 104 kB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.005923, allocations: 319 kB / 0.8211 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.255e-05/0.005945, allocations: 7.984 kB / 0.8212 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.812e-05/0.005963, allocations: 4 kB / 0.8212 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.032e-05/0.006014, allocations: 16.86 kB / 0.8212 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.006017, allocations: 0 / 0.8212 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.663e-05/0.006103, allocations: 37.69 kB / 0.8212 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.006121, allocations: 4 kB / 0.8212 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.006129, allocations: 4 kB / 0.8212 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.00614, allocations: 0 / 0.8212 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.00625, allocations: 12.03 kB / 0.8212 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.006255, allocations: 3.938 kB / 0.8212 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.64e-05/0.006302, allocations: 11.94 kB / 0.8212 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.006308, allocations: 0 / 0.8212 GB, free: 15.67 MB / 0.8073 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.143e-05/0.006389, allocations: 105.8 kB / 0.8213 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.254e-05/0.006402, allocations: 4 kB / 0.8213 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.472e-05/0.006436, allocations: 7.312 kB / 0.8214 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.006439, allocations: 0 / 0.8214 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.006443, allocations: 3.938 kB / 0.8214 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.00645, allocations: 3.984 kB / 0.8214 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.165e-05/0.006542, allocations: 69.91 kB / 0.8214 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.006544, allocations: 0 / 0.8214 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.53e-05/0.00661, allocations: 7.984 kB / 0.8214 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.14e-05/0.006621, allocations: 4 kB / 0.8214 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.006623, allocations: 0 / 0.8214 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.00663, allocations: 0 / 0.8214 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.006631, allocations: 0 / 0.8214 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.006633, allocations: 0 / 0.8214 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.006748, allocations: 73.17 kB / 0.8215 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.006761, allocations: 0 / 0.8215 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.404e-05/0.006805, allocations: 12.02 kB / 0.8215 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.724e-05/0.006822, allocations: 0 / 0.8215 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.006827, allocations: 3.984 kB / 0.8215 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.283e-05/0.00684, allocations: 12.8 kB / 0.8215 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.00684, allocations: 0 / 0.8215 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of remove unused functions: time 9.579e-05/0.006936, allocations: 15.94 kB / 0.8216 GB, free: 15.31 MB / 0.8073 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 7.649e-05/0.007012, allocations: 72.42 kB / 0.8216 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.163e-05/0.007084, allocations: 20.86 kB / 0.8216 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.007088, allocations: 0 / 0.8216 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.686e-05/0.007105, allocations: 20.84 kB / 0.8217 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001129/0.007217, allocations: 8 kB / 0.8217 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007563/0.007974, allocations: 140.7 kB / 0.8218 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.464e-05/0.008008, allocations: 51.36 kB / 0.8219 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.265e-05/0.008051, allocations: 8 kB / 0.8219 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.505e-05/0.008116, allocations: 55.36 kB / 0.8219 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of SimCode: time 4.41e-07/0.008117, allocations: 0 / 0.8219 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of Templates: time 0.002389/0.01051, allocations: 0.847 MB / 0.8227 GB, free: 14.04 MB / 0.8073 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.283468472771347]