Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001785/0.001785, allocations: 109.4 kB / 16.46 MB, free: 6.035 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.002053/0.002053, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.337/1.337, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.946/2.946, allocations: 497.2 MB / 0.7811 GB, free: 33.61 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 69.64 kB / 1.134 GB, free: 33.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.311, allocations: 173.9 MB / 1.304 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2025/0.5135, allocations: 193.3 MB / 1.493 GB, free: 15.35 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.006587/0.5201, allocations: 4.032 MB / 1.497 GB, free: 11.31 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007809/0.5208, allocations: 23.88 kB / 1.497 GB, free: 11.29 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001247/0.5221, allocations: 493 kB / 1.497 GB, free: 10.8 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003535/0.5256, allocations: 1.591 MB / 1.499 GB, free: 9.207 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.00322/0.5288, allocations: 1.365 MB / 1.5 GB, free: 7.844 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002232/0.5311, allocations: 1.623 MB / 1.502 GB, free: 6.215 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001106/0.5322, allocations: 0.865 MB / 1.502 GB, free: 5.332 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001943/0.5341, allocations: 1.102 MB / 1.504 GB, free: 4.227 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001137/0.5353, allocations: 0.9034 MB / 1.504 GB, free: 3.32 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001492/0.5354, allocations: 100 kB / 1.505 GB, free: 3.223 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002544/0.538, allocations: 1.379 MB / 1.506 GB, free: 1.84 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003977/0.5384, allocations: 358.9 kB / 1.506 GB, free: 1.488 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005956/0.539, allocations: 0.525 MB / 1.507 GB, free: 0.9609 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002777/0.5417, allocations: 1.667 MB / 1.508 GB, free: 15.29 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.5417, allocations: 0 / 1.508 GB, free: 15.29 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5417, allocations: 0 / 1.508 GB, free: 15.29 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.262e-05/0.5417, allocations: 3.938 kB / 1.508 GB, free: 15.28 MB / 1.217 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.002635/0.5444, allocations: 1.268 MB / 1.51 GB, free: 13.96 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.5444, allocations: 12.92 kB / 1.51 GB, free: 13.95 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001241/0.5445, allocations: 90.52 kB / 1.51 GB, free: 13.85 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001548/0.5461, allocations: 239.2 kB / 1.51 GB, free: 13.62 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.5472, allocations: 0.6194 MB / 1.511 GB, free: 12.95 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.381e-05/0.5472, allocations: 37 kB / 1.511 GB, free: 12.91 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.5473, allocations: 59.92 kB / 1.511 GB, free: 12.86 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/0.5488, allocations: 0.996 MB / 1.512 GB, free: 11.79 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.5489, allocations: 4 kB / 1.512 GB, free: 11.79 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.397e-05/0.5489, allocations: 24 kB / 1.512 GB, free: 11.77 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.63e-05/0.549, allocations: 31.92 kB / 1.512 GB, free: 11.73 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001607/0.5506, allocations: 1.007 MB / 1.513 GB, free: 10.73 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00528/0.5559, allocations: 4.141 MB / 1.517 GB, free: 6.418 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009563/0.5568, allocations: 0.5603 MB / 1.517 GB, free: 5.852 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007551/0.5576, allocations: 485.8 kB / 1.518 GB, free: 5.371 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001058/0.5586, allocations: 0.8822 MB / 1.519 GB, free: 4.305 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.5587, allocations: 42.98 kB / 1.519 GB, free: 4.254 MB / 1.217 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002295/0.561, allocations: 0.6283 MB / 1.519 GB, free: 3.625 MB / 1.217 GB Notification: Performance of pre-optimization done (n=50): time 3.277e-06/0.561, allocations: 0 / 1.519 GB, free: 3.625 MB / 1.217 GB Notification: Performance of matching and sorting (n=50): time 0.01695/0.5779, allocations: 3.834 MB / 1.523 GB, free: 15.74 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/0.578, allocations: 63.77 kB / 1.523 GB, free: 15.66 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.579, allocations: 0.7039 MB / 1.524 GB, free: 14.95 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001546/0.5791, allocations: 41.7 kB / 1.524 GB, free: 14.9 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002653/0.5794, allocations: 324.8 kB / 1.524 GB, free: 14.58 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.000185/0.5796, allocations: 186.4 kB / 1.524 GB, free: 14.4 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002537/0.5798, allocations: 146.1 kB / 1.524 GB, free: 14.25 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.58, allocations: 326 kB / 1.525 GB, free: 13.93 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006667/0.5806, allocations: 400.9 kB / 1.525 GB, free: 13.54 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007499/0.5814, allocations: 489.5 kB / 1.526 GB, free: 13.03 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001479/0.5829, allocations: 0.9219 MB / 1.526 GB, free: 12.08 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.5829, allocations: 0 / 1.526 GB, free: 12.08 MB / 1.232 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01107/0.5939, allocations: 2.553 MB / 1.529 GB, free: 9.512 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.594, allocations: 4 kB / 1.529 GB, free: 9.508 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.594, allocations: 4 kB / 1.529 GB, free: 9.504 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009332/0.6033, allocations: 1.73 MB / 1.531 GB, free: 7.766 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004748/0.6038, allocations: 91.88 kB / 1.531 GB, free: 7.676 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01259/0.6164, allocations: 7.149 MB / 1.538 GB, free: 240 kB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008404/0.6172, allocations: 20.05 kB / 1.538 GB, free: 220 kB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.405e-05/0.6173, allocations: 55.86 kB / 1.538 GB, free: 164 kB / 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.0003977/0.6177, allocations: 209.7 kB / 1.538 GB, free: 15.95 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/0.6179, allocations: 83.48 kB / 1.538 GB, free: 15.86 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004875/0.6228, allocations: 1.73 MB / 1.54 GB, free: 14.11 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.6228, allocations: 4 kB / 1.54 GB, free: 14.11 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.6228, allocations: 4 kB / 1.54 GB, free: 14.11 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.6228, allocations: 3.984 kB / 1.54 GB, free: 14.1 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005903/0.6287, allocations: 2.532 MB / 1.542 GB, free: 11.48 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.6287, allocations: 4.25 kB / 1.542 GB, free: 11.48 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004282/0.6291, allocations: 91.89 kB / 1.542 GB, free: 11.39 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003294/0.6324, allocations: 0.8017 MB / 1.543 GB, free: 10.58 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.937e-05/0.6325, allocations: 16 kB / 1.543 GB, free: 10.57 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006736/0.6392, allocations: 4.852 MB / 1.548 GB, free: 5.434 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.6392, allocations: 8 kB / 1.548 GB, free: 5.426 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005166/0.6444, allocations: 2.14 MB / 1.55 GB, free: 3.246 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000534/0.6449, allocations: 236.5 kB / 1.55 GB, free: 2.996 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.645, allocations: 16 kB / 1.55 GB, free: 2.98 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005241/0.6455, allocations: 19.98 kB / 1.55 GB, free: 2.961 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001715/0.6457, allocations: 52.44 kB / 1.55 GB, free: 2.91 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.794e-05/0.6458, allocations: 20 kB / 1.55 GB, free: 2.891 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0006248/0.6464, allocations: 0.5029 MB / 1.551 GB, free: 2.395 MB / 1.248 GB Notification: Performance of sort global known variables: time 8e-08/0.6464, allocations: 0 / 1.551 GB, free: 2.395 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0008945/0.6473, allocations: 287.8 kB / 1.551 GB, free: 2.113 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.005752/0.653, allocations: 2.807 MB / 1.554 GB, free: 15.25 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.003582/0.6566, allocations: 1.406 MB / 1.555 GB, free: 13.82 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/0.6566, allocations: 0 / 1.555 GB, free: 13.82 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001757/0.6584, allocations: 0.86 MB / 1.556 GB, free: 12.93 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002018/0.6604, allocations: 460.9 kB / 1.556 GB, free: 12.48 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02952/0.6899, allocations: 10.43 MB / 1.567 GB, free: 1.887 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005988/0.6905, allocations: 0.9867 MB / 1.568 GB, free: 0.875 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0006574/0.6912, allocations: 158.6 kB / 1.568 GB, free: 0.7148 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003841/0.6916, allocations: 279.3 kB / 1.568 GB, free: 452 kB / 1.264 GB Notification: Performance of SimCode: time 8.72e-07/0.6916, allocations: 4 kB / 1.568 GB, free: 448 kB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06786/0.7594, allocations: 29.85 MB / 1.597 GB, free: 2.969 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/12.17, allocations: 15.59 kB / 1.597 GB, free: 2.957 MB / 1.295 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_PowerLaw.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.45586778782308]