Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 189 kB / 22.23 MB, free: 5.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.535/2.535, allocations: 443.4 MB / 0.7321 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.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_10_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_10_Buildings.Airflow.Multizone.Examples.PowerLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 59.91 kB / 1.061 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9897/0.9916, allocations: 160.8 MB / 1.218 GB, free: 4.406 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2423/1.234, allocations: 193.7 MB / 1.408 GB, free: 2.008 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.007462/1.241, allocations: 4.054 MB / 1.412 GB, free: 13.95 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00103/1.242, allocations: 23.81 kB / 1.412 GB, free: 13.92 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001554/1.244, allocations: 497 kB / 1.412 GB, free: 13.43 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.004558/1.248, allocations: 1.606 MB / 1.414 GB, free: 11.82 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004338/1.253, allocations: 1.43 MB / 1.415 GB, free: 10.39 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.003117/1.256, allocations: 1.655 MB / 1.417 GB, free: 8.73 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001277/1.257, allocations: 0.8421 MB / 1.417 GB, free: 7.875 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001868/1.259, allocations: 0.958 MB / 1.418 GB, free: 6.914 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001314/1.26, allocations: 0.9229 MB / 1.419 GB, free: 5.988 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001723/1.261, allocations: 100 kB / 1.419 GB, free: 5.891 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003079/1.264, allocations: 1.414 MB / 1.421 GB, free: 4.473 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0005066/1.264, allocations: 370.8 kB / 1.421 GB, free: 4.109 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.000723/1.265, allocations: 0.5172 MB / 1.422 GB, free: 3.59 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003229/1.268, allocations: 1.662 MB / 1.423 GB, free: 1.926 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.268, allocations: 7.938 kB / 1.423 GB, free: 1.918 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.823e-06/1.268, allocations: 0 / 1.423 GB, free: 1.918 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.267e-05/1.268, allocations: 0 / 1.423 GB, free: 1.918 MB / 1.123 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.002929/1.271, allocations: 1.264 MB / 1.424 GB, free: 0.6016 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/1.271, allocations: 8.031 kB / 1.424 GB, free: 0.5938 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00161/1.273, allocations: 247.2 kB / 1.425 GB, free: 360 kB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/1.274, allocations: 0.6194 MB / 1.425 GB, free: 15.69 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.338e-05/1.274, allocations: 41 kB / 1.425 GB, free: 15.65 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/1.274, allocations: 48 kB / 1.425 GB, free: 15.61 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/1.276, allocations: 0.9999 MB / 1.426 GB, free: 14.53 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.033e-05/1.276, allocations: 7.891 kB / 1.426 GB, free: 14.52 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.179e-05/1.276, allocations: 28 kB / 1.426 GB, free: 14.49 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.924e-05/1.276, allocations: 31.92 kB / 1.426 GB, free: 14.46 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001687/1.278, allocations: 1.003 MB / 1.427 GB, free: 13.46 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.005633/1.283, allocations: 4.129 MB / 1.431 GB, free: 9.156 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/1.284, allocations: 0.5551 MB / 1.432 GB, free: 8.598 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008006/1.285, allocations: 493.8 kB / 1.432 GB, free: 8.109 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001179/1.286, allocations: 0.8822 MB / 1.433 GB, free: 7.043 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/1.286, allocations: 39 kB / 1.433 GB, free: 6.996 MB / 1.139 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002416/1.289, allocations: 0.6283 MB / 1.434 GB, free: 6.367 MB / 1.139 GB Notification: Performance of pre-optimization done (n=50): time 3.146e-06/1.289, allocations: 0 / 1.434 GB, free: 6.367 MB / 1.139 GB Notification: Performance of matching and sorting (n=50): time 0.01764/1.306, allocations: 3.838 MB / 1.438 GB, free: 2.48 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/1.306, allocations: 55.84 kB / 1.438 GB, free: 2.414 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/1.308, allocations: 0.7078 MB / 1.438 GB, free: 1.695 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001531/1.308, allocations: 41.64 kB / 1.439 GB, free: 1.648 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003193/1.308, allocations: 320.9 kB / 1.439 GB, free: 1.332 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003029/1.308, allocations: 186.4 kB / 1.439 GB, free: 1.148 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003429/1.309, allocations: 154 kB / 1.439 GB, free: 0.9922 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001692/1.309, allocations: 322 kB / 1.439 GB, free: 0.6719 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007227/1.31, allocations: 396.8 kB / 1.44 GB, free: 288 kB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008293/1.31, allocations: 488.8 kB / 1.44 GB, free: 15.78 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001622/1.312, allocations: 0.9219 MB / 1.441 GB, free: 14.83 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/1.312, allocations: 0 / 1.441 GB, free: 14.83 MB / 1.154 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01138/1.324, allocations: 2.557 MB / 1.444 GB, free: 12.25 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.242e-05/1.324, allocations: 8 kB / 1.444 GB, free: 12.25 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/1.324, allocations: 0 / 1.444 GB, free: 12.25 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009601/1.333, allocations: 1.73 MB / 1.445 GB, free: 10.51 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005573/1.334, allocations: 99.8 kB / 1.446 GB, free: 10.41 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0136/1.347, allocations: 7.142 MB / 1.452 GB, free: 2.973 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/1.348, allocations: 20.06 kB / 1.452 GB, free: 2.953 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001707/1.348, allocations: 47.92 kB / 1.453 GB, free: 2.906 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.0005383/1.349, allocations: 209.6 kB / 1.453 GB, free: 2.691 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003004/1.349, allocations: 83.48 kB / 1.453 GB, free: 2.609 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005208/1.355, allocations: 1.724 MB / 1.455 GB, free: 0.8711 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/1.355, allocations: 11.98 kB / 1.455 GB, free: 0.8594 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/1.355, allocations: 4 kB / 1.455 GB, free: 0.8555 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/1.355, allocations: 4 kB / 1.455 GB, free: 0.8516 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006416/1.361, allocations: 2.538 MB / 1.457 GB, free: 14.23 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/1.361, allocations: 192 / 1.457 GB, free: 14.23 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004473/1.361, allocations: 95.83 kB / 1.457 GB, free: 14.13 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003383/1.365, allocations: 0.798 MB / 1.458 GB, free: 13.33 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-05/1.365, allocations: 16 kB / 1.458 GB, free: 13.31 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007481/1.372, allocations: 4.857 MB / 1.463 GB, free: 8.176 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.372, allocations: 0 / 1.463 GB, free: 8.176 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005639/1.378, allocations: 2.15 MB / 1.465 GB, free: 5.984 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000661/1.379, allocations: 240.4 kB / 1.465 GB, free: 5.73 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002106/1.379, allocations: 12 kB / 1.465 GB, free: 5.719 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006793/1.38, allocations: 19.98 kB / 1.465 GB, free: 5.699 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002061/1.38, allocations: 68.27 kB / 1.465 GB, free: 5.633 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.397e-05/1.38, allocations: 20 kB / 1.465 GB, free: 5.613 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0007845/1.381, allocations: 0.4912 MB / 1.466 GB, free: 5.129 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.01e-07/1.381, allocations: 4 kB / 1.466 GB, free: 5.125 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001253/1.382, allocations: 283.8 kB / 1.466 GB, free: 4.848 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.0005866/1.382, allocations: 219.7 kB / 1.466 GB, free: 4.629 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.003717/1.386, allocations: 1.406 MB / 1.467 GB, free: 3.195 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/1.386, allocations: 0 / 1.467 GB, free: 3.195 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001916/1.388, allocations: 0.8676 MB / 1.468 GB, free: 2.301 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002219/1.39, allocations: 454.3 kB / 1.469 GB, free: 1.859 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003355/1.394, allocations: 1.731 MB / 1.47 GB, free: 96 kB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007678/1.394, allocations: 0.9828 MB / 1.471 GB, free: 15.08 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0006494/1.395, allocations: 162.6 kB / 1.471 GB, free: 14.92 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002235/1.395, allocations: 67.42 kB / 1.472 GB, free: 14.85 MB / 1.186 GB Notification: Performance of SimCode: time 9.72e-07/1.395, allocations: 0 / 1.472 GB, free: 14.85 MB / 1.186 GB Notification: Performance of Templates: time 0.04552/1.441, allocations: 23.49 MB / 1.494 GB, free: 7.613 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.959797111339867]