Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001766/0.001766, allocations: 109.7 kB / 18.84 MB, free: 3.012 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.002274/0.002274, allocations: 190.9 kB / 22.1 MB, free: 5.168 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.503/1.503, allocations: 225.6 MB / 250.8 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.411/3.411, allocations: 495.8 MB / 0.783 GB, free: 33.75 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_12_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_12_Buildings.Airflow.Multizone.Examples.PowerLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 65.53 kB / 1.137 GB, free: 33.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5043/0.5064, allocations: 173.6 MB / 1.307 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2673/0.7737, allocations: 191.6 MB / 1.494 GB, free: 1.465 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.007886/0.7816, allocations: 4.007 MB / 1.498 GB, free: 13.45 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00116/0.7827, allocations: 31.75 kB / 1.498 GB, free: 13.42 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001556/0.7843, allocations: 489 kB / 1.498 GB, free: 12.94 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.004796/0.7891, allocations: 1.602 MB / 1.5 GB, free: 11.33 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.004306/0.7934, allocations: 1.42 MB / 1.501 GB, free: 9.91 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003218/0.7966, allocations: 1.639 MB / 1.503 GB, free: 8.266 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001306/0.7979, allocations: 0.8383 MB / 1.504 GB, free: 7.41 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002682/0.8006, allocations: 1.114 MB / 1.505 GB, free: 6.293 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001351/0.802, allocations: 0.915 MB / 1.506 GB, free: 5.375 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001764/0.8021, allocations: 100 kB / 1.506 GB, free: 5.277 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002887/0.805, allocations: 1.099 MB / 1.507 GB, free: 4.176 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004365/0.8055, allocations: 366.9 kB / 1.507 GB, free: 3.816 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0006952/0.8061, allocations: 0.5211 MB / 1.508 GB, free: 3.293 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002914/0.8091, allocations: 1.627 MB / 1.509 GB, free: 1.66 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.8091, allocations: 0 / 1.509 GB, free: 1.66 MB / 1.201 GB Notification: Performance of FrontEnd: time 3.056e-06/0.8091, allocations: 0 / 1.509 GB, free: 1.66 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.31e-05/0.8091, allocations: 0 / 1.509 GB, free: 1.66 MB / 1.201 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.003022/0.8121, allocations: 1.185 MB / 1.51 GB, free: 452 kB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.8122, allocations: 12.92 kB / 1.51 GB, free: 440 kB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001631/0.8138, allocations: 247.1 kB / 1.511 GB, free: 192 kB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.8149, allocations: 0.5499 MB / 1.511 GB, free: 15.61 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.694e-05/0.8149, allocations: 44.94 kB / 1.511 GB, free: 15.57 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.8151, allocations: 51.95 kB / 1.511 GB, free: 15.52 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/0.8168, allocations: 1.004 MB / 1.512 GB, free: 14.44 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/0.8169, allocations: 3.938 kB / 1.512 GB, free: 14.43 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.004e-05/0.8169, allocations: 24 kB / 1.512 GB, free: 14.41 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-05/0.817, allocations: 23.98 kB / 1.512 GB, free: 14.39 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001759/0.8188, allocations: 1.007 MB / 1.513 GB, free: 13.38 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005797/0.8246, allocations: 4.087 MB / 1.517 GB, free: 9.125 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.8256, allocations: 0.5596 MB / 1.518 GB, free: 8.555 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000833/0.8265, allocations: 486.9 kB / 1.518 GB, free: 8.078 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007494/0.8272, allocations: 144.2 kB / 1.518 GB, free: 7.938 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.678e-05/0.8273, allocations: 42.98 kB / 1.518 GB, free: 7.887 MB / 1.217 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002412/0.8297, allocations: 0.6283 MB / 1.519 GB, free: 7.258 MB / 1.217 GB Notification: Performance of pre-optimization done (n=50): time 3.326e-06/0.8297, allocations: 0 / 1.519 GB, free: 7.258 MB / 1.217 GB Notification: Performance of matching and sorting (n=50): time 0.01829/0.848, allocations: 3.675 MB / 1.523 GB, free: 3.562 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.911e-05/0.848, allocations: 63.78 kB / 1.523 GB, free: 3.488 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001173/0.8492, allocations: 0.7078 MB / 1.523 GB, free: 2.773 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001573/0.8493, allocations: 33.7 kB / 1.523 GB, free: 2.734 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003119/0.8497, allocations: 320.8 kB / 1.524 GB, free: 2.418 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002276/0.8499, allocations: 198.4 kB / 1.524 GB, free: 2.223 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002817/0.8502, allocations: 150 kB / 1.524 GB, free: 2.07 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.8503, allocations: 322 kB / 1.524 GB, free: 1.75 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007418/0.8511, allocations: 400.7 kB / 1.525 GB, free: 1.359 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008053/0.8519, allocations: 492.8 kB / 1.525 GB, free: 0.8555 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001612/0.8535, allocations: 0.9102 MB / 1.526 GB, free: 15.91 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/0.8535, allocations: 0 / 1.526 GB, free: 15.91 MB / 1.232 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01183/0.8653, allocations: 2.553 MB / 1.529 GB, free: 13.35 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 4.709e-05/0.8654, allocations: 10.31 kB / 1.529 GB, free: 13.34 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.8654, allocations: 4 kB / 1.529 GB, free: 13.34 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00987/0.8752, allocations: 1.734 MB / 1.53 GB, free: 11.59 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005634/0.8758, allocations: 95.81 kB / 1.53 GB, free: 11.5 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01408/0.8899, allocations: 6.943 MB / 1.537 GB, free: 4.312 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001257/0.8911, allocations: 20 kB / 1.537 GB, free: 4.293 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/0.8913, allocations: 47.92 kB / 1.537 GB, free: 4.246 MB / 1.232 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.000535/0.8918, allocations: 209.6 kB / 1.537 GB, free: 4.031 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002078/0.892, allocations: 91.42 kB / 1.538 GB, free: 3.941 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005433/0.8974, allocations: 1.736 MB / 1.539 GB, free: 2.184 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.8974, allocations: 4 kB / 1.539 GB, free: 2.18 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/0.8975, allocations: 4 kB / 1.539 GB, free: 2.176 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.8975, allocations: 0 / 1.539 GB, free: 2.176 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006513/0.904, allocations: 2.495 MB / 1.542 GB, free: 15.6 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/0.904, allocations: 4.25 kB / 1.542 GB, free: 15.6 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004469/0.9044, allocations: 91.83 kB / 1.542 GB, free: 15.51 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003489/0.9079, allocations: 0.8017 MB / 1.543 GB, free: 14.7 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.922e-05/0.908, allocations: 19.94 kB / 1.543 GB, free: 14.68 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007295/0.9153, allocations: 4.65 MB / 1.547 GB, free: 9.801 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.9153, allocations: 4 kB / 1.547 GB, free: 9.797 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005758/0.9211, allocations: 2.134 MB / 1.549 GB, free: 7.621 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006154/0.9217, allocations: 167.3 kB / 1.549 GB, free: 7.457 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/0.9218, allocations: 19.98 kB / 1.549 GB, free: 7.438 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000588/0.9224, allocations: 19.98 kB / 1.549 GB, free: 7.418 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002402/0.9226, allocations: 60.28 kB / 1.549 GB, free: 7.359 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.243e-05/0.9227, allocations: 16 kB / 1.55 GB, free: 7.344 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0007141/0.9234, allocations: 0.499 MB / 1.55 GB, free: 6.852 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9234, allocations: 0 / 1.55 GB, free: 6.852 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001056/0.9244, allocations: 291.8 kB / 1.55 GB, free: 6.566 MB / 1.248 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.0006134/0.9251, allocations: 204.5 kB / 1.55 GB, free: 6.367 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.003755/0.9288, allocations: 1.414 MB / 1.552 GB, free: 4.926 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/0.9288, allocations: 4 kB / 1.552 GB, free: 4.922 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.001947/0.9308, allocations: 0.8596 MB / 1.553 GB, free: 4.039 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002279/0.933, allocations: 456.7 kB / 1.553 GB, free: 3.598 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0032/0.9362, allocations: 1.752 MB / 1.555 GB, free: 1.809 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006837/0.9369, allocations: 0.9828 MB / 1.556 GB, free: 0.8008 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0006372/0.9376, allocations: 158.6 kB / 1.556 GB, free: 0.6406 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002051/0.9378, allocations: 67.42 kB / 1.556 GB, free: 0.5742 MB / 1.248 GB Notification: Performance of SimCode: time 1.283e-06/0.9378, allocations: 0 / 1.556 GB, free: 0.5742 MB / 1.248 GB Notification: Performance of Templates: time 0.04279/0.9806, allocations: 23.49 MB / 1.579 GB, free: 9.332 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.326691867783666]