Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Airflow.Multizone.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.001351/0.001351, allocations: 77.55 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.001487/0.001487, allocations: 159.6 kB / 23.01 MB, free: 4.949 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.425/1.425, allocations: 177.2 MB / 203.4 MB, free: 8.93 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.632/2.632, allocations: 359.1 MB / 0.6044 GB, free: 14.85 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.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pow_2dat.V_flow|pow_1dat.V_flow|pow_V_flow.V_flow|pow_m_flow.V_flow",fileNamePrefix="Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pow_2dat.V_flow|pow_1dat.V_flow|pow_V_flow.V_flow|pow_m_flow.V_flow",fileNamePrefix="Buildings_11_Buildings.Airflow.Multizone.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.002163/0.002163, allocations: 71.89 kB / 0.9515 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2916, allocations: 169.9 MB / 1.117 GB, free: 2.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.7523/1.044, allocations: 170.5 MB / 1.284 GB, free: 13.25 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.006991/1.051, allocations: 3.776 MB / 1.288 GB, free: 10.69 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007963/1.052, allocations: 29.41 kB / 1.288 GB, free: 10.67 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001362/1.053, allocations: 454.1 kB / 1.288 GB, free: 10.42 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.004177/1.057, allocations: 1.569 MB / 1.29 GB, free: 9.582 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003947/1.061, allocations: 1.404 MB / 1.291 GB, free: 8.906 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.00266/1.064, allocations: 1.642 MB / 1.293 GB, free: 8.164 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00127/1.065, allocations: 0.8378 MB / 1.293 GB, free: 7.777 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001812/1.067, allocations: 0.9684 MB / 1.294 GB, free: 7.387 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001412/1.068, allocations: 0.8503 MB / 1.295 GB, free: 7.094 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001792/1.068, allocations: 99 kB / 1.295 GB, free: 7.094 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002581/1.071, allocations: 1.107 MB / 1.296 GB, free: 6.695 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004968/1.072, allocations: 374.8 kB / 1.297 GB, free: 6.516 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0006075/1.072, allocations: 455.3 kB / 1.297 GB, free: 6.297 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002556/1.075, allocations: 1.637 MB / 1.299 GB, free: 5.715 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/1.075, allocations: 0.9688 kB / 1.299 GB, free: 5.715 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.463e-06/1.075, allocations: 0 / 1.299 GB, free: 5.715 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.046e-05/1.075, allocations: 0 / 1.299 GB, free: 5.715 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002861/1.078, allocations: 1.196 MB / 1.3 GB, free: 4.941 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/1.078, allocations: 10.22 kB / 1.3 GB, free: 4.941 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001599/1.079, allocations: 240.2 kB / 1.3 GB, free: 4.875 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/1.08, allocations: 0.5605 MB / 1.301 GB, free: 4.512 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.541e-05/1.08, allocations: 37.12 kB / 1.301 GB, free: 4.496 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/1.08, allocations: 52.98 kB / 1.301 GB, free: 4.477 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001675/1.082, allocations: 1.049 MB / 1.302 GB, free: 3.922 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/1.082, allocations: 9.031 kB / 1.302 GB, free: 3.914 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.545e-05/1.082, allocations: 19.16 kB / 1.302 GB, free: 3.902 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.285e-05/1.082, allocations: 28.69 kB / 1.302 GB, free: 3.898 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001702/1.084, allocations: 1.003 MB / 1.303 GB, free: 3.527 MB / 1.139 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005364/1.089, allocations: 3.598 MB / 1.306 GB, free: 0.5898 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/1.09, allocations: 0.5583 MB / 1.307 GB, free: 284 kB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008044/1.091, allocations: 494.2 kB / 1.307 GB, free: 12 kB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000754/1.092, allocations: 142.8 kB / 1.307 GB, free: 15.96 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/1.092, allocations: 38.34 kB / 1.308 GB, free: 15.91 MB / 1.154 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002353/1.094, allocations: 0.6059 MB / 1.308 GB, free: 15.7 MB / 1.154 GB Notification: Performance of pre-optimization done (n=50): time 2.905e-06/1.094, allocations: 5.344 kB / 1.308 GB, free: 15.7 MB / 1.154 GB Notification: Performance of matching and sorting (n=50): time 0.01885/1.113, allocations: 3.67 MB / 1.312 GB, free: 13.7 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/1.113, allocations: 57.41 kB / 1.312 GB, free: 13.64 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008224/1.114, allocations: 0.5579 MB / 1.312 GB, free: 13.31 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001283/1.114, allocations: 36.45 kB / 1.312 GB, free: 13.27 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002917/1.114, allocations: 335.2 kB / 1.313 GB, free: 12.98 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002034/1.115, allocations: 187.7 kB / 1.313 GB, free: 12.81 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002827/1.115, allocations: 151.5 kB / 1.313 GB, free: 12.72 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002016/1.115, allocations: 372.7 kB / 1.313 GB, free: 12.36 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007185/1.116, allocations: 397.8 kB / 1.314 GB, free: 12.14 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008358/1.117, allocations: 0.529 MB / 1.314 GB, free: 11.77 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001558/1.118, allocations: 0.9187 MB / 1.315 GB, free: 11.22 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/1.118, allocations: 2.5 kB / 1.315 GB, free: 11.22 MB / 1.154 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01187/1.13, allocations: 2.545 MB / 1.318 GB, free: 9.793 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/1.13, allocations: 5.031 kB / 1.318 GB, free: 9.793 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/1.13, allocations: 2.5 kB / 1.318 GB, free: 9.793 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01002/1.14, allocations: 1.721 MB / 1.319 GB, free: 8.918 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005102/1.141, allocations: 94.02 kB / 1.319 GB, free: 8.891 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0138/1.155, allocations: 6.834 MB / 1.326 GB, free: 2.016 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009327/1.155, allocations: 20.05 kB / 1.326 GB, free: 1.996 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/1.156, allocations: 47.94 kB / 1.326 GB, free: 1.949 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000442/1.156, allocations: 209.6 kB / 1.326 GB, free: 1.734 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002016/1.156, allocations: 79.52 kB / 1.326 GB, free: 1.656 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005372/1.162, allocations: 1.704 MB / 1.328 GB, free: 15.94 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/1.162, allocations: 8 kB / 1.328 GB, free: 15.93 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/1.162, allocations: 4 kB / 1.328 GB, free: 15.93 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.318e-06/1.162, allocations: 3.984 kB / 1.328 GB, free: 15.92 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006329/1.168, allocations: 2.331 MB / 1.33 GB, free: 13.54 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/1.168, allocations: 0 / 1.33 GB, free: 13.54 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004599/1.168, allocations: 87.89 kB / 1.33 GB, free: 13.45 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003633/1.172, allocations: 0.8071 MB / 1.331 GB, free: 12.64 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.186e-05/1.172, allocations: 16 kB / 1.331 GB, free: 12.62 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007495/1.18, allocations: 4.549 MB / 1.336 GB, free: 7.863 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/1.18, allocations: 7.922 kB / 1.336 GB, free: 7.855 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005865/1.185, allocations: 2.123 MB / 1.338 GB, free: 5.691 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004847/1.186, allocations: 143.4 kB / 1.338 GB, free: 5.551 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/1.186, allocations: 23.67 kB / 1.338 GB, free: 5.531 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005826/1.187, allocations: 27.92 kB / 1.338 GB, free: 5.504 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000175/1.187, allocations: 48.41 kB / 1.338 GB, free: 5.457 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.208e-05/1.187, allocations: 20 kB / 1.338 GB, free: 5.438 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0005381/1.187, allocations: 399.1 kB / 1.338 GB, free: 5.051 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/1.187, allocations: 0 / 1.338 GB, free: 5.051 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001091/1.188, allocations: 299.6 kB / 1.339 GB, free: 4.758 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003716/1.189, allocations: 203 kB / 1.339 GB, free: 4.551 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.003713/1.193, allocations: 1.41 MB / 1.34 GB, free: 3.109 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/1.193, allocations: 3.938 kB / 1.34 GB, free: 3.105 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001976/1.195, allocations: 0.8634 MB / 1.341 GB, free: 2.219 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001717/1.196, allocations: 345.6 kB / 1.341 GB, free: 1.906 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002983/1.199, allocations: 1.716 MB / 1.343 GB, free: 156 kB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004605/1.2, allocations: 392.8 kB / 1.343 GB, free: 15.74 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0004904/1.2, allocations: 141.3 kB / 1.344 GB, free: 15.6 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001994/1.2, allocations: 64.47 kB / 1.344 GB, free: 15.54 MB / 1.186 GB Notification: Performance of SimCode: time 8.52e-07/1.2, allocations: 3.938 kB / 1.344 GB, free: 15.54 MB / 1.186 GB Notification: Performance of Templates: time 0.03509/1.235, allocations: 21.12 MB / 1.364 GB, free: 10.78 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.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: 9.262763567036018]