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.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.001826/0.001826, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002203/0.002203, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.364/1.364, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.998/2.998, allocations: 0.49 GB / 0.7951 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) [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.001938/0.001938, allocations: 73.33 kB / 1.154 GB, free: 25.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3242, allocations: 176.1 MB / 1.326 GB, free: 1.938 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2193/0.5435, allocations: 196.7 MB / 1.518 GB, free: 12.54 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.007267/0.5508, allocations: 4.047 MB / 1.522 GB, free: 8.488 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00103/0.5518, allocations: 27.81 kB / 1.522 GB, free: 8.461 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001554/0.5534, allocations: 493 kB / 1.522 GB, free: 7.977 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004078/0.5574, allocations: 1.595 MB / 1.524 GB, free: 6.375 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003794/0.5612, allocations: 1.418 MB / 1.525 GB, free: 4.957 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.00259/0.5638, allocations: 1.639 MB / 1.527 GB, free: 3.316 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00138/0.5652, allocations: 0.8461 MB / 1.528 GB, free: 2.457 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002275/0.5675, allocations: 1.118 MB / 1.529 GB, free: 1.336 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001633/0.5691, allocations: 0.9073 MB / 1.53 GB, free: 436 kB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0003312/0.5694, allocations: 96 kB / 1.53 GB, free: 340 kB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002869/0.5723, allocations: 1.395 MB / 1.531 GB, free: 14.93 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0005884/0.5729, allocations: 366.9 kB / 1.532 GB, free: 14.57 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0009134/0.5738, allocations: 0.525 MB / 1.532 GB, free: 14.05 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.003111/0.5769, allocations: 1.663 MB / 1.534 GB, free: 12.38 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.5769, allocations: 4 kB / 1.534 GB, free: 12.38 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.442e-06/0.5769, allocations: 0 / 1.534 GB, free: 12.38 MB / 1.232 GB Notification: Performance of Transformations before backend: time 4.15e-05/0.577, allocations: 3.938 kB / 1.534 GB, free: 12.37 MB / 1.232 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.003301/0.5803, allocations: 1.188 MB / 1.535 GB, free: 11.14 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.5803, allocations: 12.03 kB / 1.535 GB, free: 11.13 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001872/0.5805, allocations: 90.5 kB / 1.535 GB, free: 11.04 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001606/0.5821, allocations: 243.2 kB / 1.535 GB, free: 10.8 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/0.5833, allocations: 0.5538 MB / 1.536 GB, free: 10.21 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.286e-05/0.5833, allocations: 41 kB / 1.536 GB, free: 10.17 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.5834, allocations: 48 kB / 1.536 GB, free: 10.12 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001698/0.5851, allocations: 0.9999 MB / 1.537 GB, free: 9.059 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.862e-05/0.5852, allocations: 3.938 kB / 1.537 GB, free: 9.055 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.5e-05/0.5853, allocations: 28 kB / 1.537 GB, free: 9.027 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.675e-05/0.5853, allocations: 31.92 kB / 1.537 GB, free: 8.996 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001725/0.587, allocations: 0.9993 MB / 1.538 GB, free: 7.996 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006123/0.5931, allocations: 4.11 MB / 1.542 GB, free: 3.723 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.5943, allocations: 0.5561 MB / 1.542 GB, free: 3.156 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008581/0.5951, allocations: 485.9 kB / 1.543 GB, free: 2.68 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007386/0.5959, allocations: 140.3 kB / 1.543 GB, free: 2.543 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.385e-05/0.5959, allocations: 39 kB / 1.543 GB, free: 2.496 MB / 1.232 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002285/0.5982, allocations: 0.6322 MB / 1.544 GB, free: 1.863 MB / 1.232 GB Notification: Performance of pre-optimization done (n=50): time 5.29e-06/0.5982, allocations: 0 / 1.544 GB, free: 1.863 MB / 1.232 GB Notification: Performance of matching and sorting (n=50): time 0.01722/0.6154, allocations: 3.671 MB / 1.547 GB, free: 14.17 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.6154, allocations: 59.78 kB / 1.547 GB, free: 14.1 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009948/0.6164, allocations: 0.7116 MB / 1.548 GB, free: 13.38 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 8.175e-05/0.6165, allocations: 37.7 kB / 1.548 GB, free: 13.34 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002661/0.6168, allocations: 328.8 kB / 1.548 GB, free: 13.01 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001929/0.617, allocations: 186.4 kB / 1.548 GB, free: 12.83 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002576/0.6172, allocations: 150 kB / 1.549 GB, free: 12.68 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.6174, allocations: 326 kB / 1.549 GB, free: 12.35 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006704/0.618, allocations: 400.8 kB / 1.549 GB, free: 11.96 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000769/0.6188, allocations: 480.9 kB / 1.55 GB, free: 11.46 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/0.6203, allocations: 0.9258 MB / 1.551 GB, free: 10.51 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.6203, allocations: 0 / 1.551 GB, free: 10.51 MB / 1.248 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01099/0.6313, allocations: 2.549 MB / 1.553 GB, free: 7.945 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.6314, allocations: 4 kB / 1.553 GB, free: 7.941 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.6314, allocations: 4 kB / 1.553 GB, free: 7.938 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009204/0.6406, allocations: 1.738 MB / 1.555 GB, free: 6.191 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004605/0.641, allocations: 87.88 kB / 1.555 GB, free: 6.105 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01324/0.6543, allocations: 6.947 MB / 1.562 GB, free: 14.92 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007789/0.655, allocations: 24.05 kB / 1.562 GB, free: 14.89 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/0.6552, allocations: 47.88 kB / 1.562 GB, free: 14.85 MB / 1.264 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.0004476/0.6556, allocations: 213.7 kB / 1.562 GB, free: 14.63 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002721/0.6559, allocations: 83.48 kB / 1.562 GB, free: 14.55 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005307/0.6612, allocations: 1.724 MB / 1.564 GB, free: 12.8 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.968e-06/0.6612, allocations: 8 kB / 1.564 GB, free: 12.79 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.6612, allocations: 4 kB / 1.564 GB, free: 12.79 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.6612, allocations: 7.984 kB / 1.564 GB, free: 12.78 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006447/0.6677, allocations: 2.495 MB / 1.566 GB, free: 10.21 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.6677, allocations: 4.188 kB / 1.566 GB, free: 10.21 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004413/0.6681, allocations: 95.83 kB / 1.566 GB, free: 10.12 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003528/0.6717, allocations: 0.7977 MB / 1.567 GB, free: 9.312 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.463e-05/0.6717, allocations: 16 kB / 1.567 GB, free: 9.297 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007165/0.6789, allocations: 4.649 MB / 1.572 GB, free: 4.418 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.6789, allocations: 0 / 1.572 GB, free: 4.418 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005394/0.6843, allocations: 2.142 MB / 1.574 GB, free: 2.234 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005409/0.6848, allocations: 159.5 kB / 1.574 GB, free: 2.078 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000203/0.685, allocations: 15.98 kB / 1.574 GB, free: 2.062 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006122/0.6856, allocations: 23.98 kB / 1.574 GB, free: 2.039 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001791/0.6858, allocations: 64.27 kB / 1.574 GB, free: 1.977 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.348e-05/0.6859, allocations: 20 kB / 1.574 GB, free: 1.957 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0007778/0.6867, allocations: 0.5029 MB / 1.575 GB, free: 1.461 MB / 1.264 GB Notification: Performance of sort global known variables: time 1e-07/0.6867, allocations: 0 / 1.575 GB, free: 1.461 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001054/0.6877, allocations: 287.7 kB / 1.575 GB, free: 1.18 MB / 1.264 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.005932/0.6936, allocations: 2.782 MB / 1.578 GB, free: 14.35 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.003669/0.6973, allocations: 1.41 MB / 1.579 GB, free: 12.91 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.6973, allocations: 4.062 kB / 1.579 GB, free: 12.9 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.001875/0.6992, allocations: 0.8633 MB / 1.58 GB, free: 12.01 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002088/0.7013, allocations: 463.5 kB / 1.58 GB, free: 11.55 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03068/0.7319, allocations: 10.44 MB / 1.59 GB, free: 0.9492 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007685/0.7327, allocations: 0.9867 MB / 1.591 GB, free: 15.94 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0006819/0.7334, allocations: 166.6 kB / 1.591 GB, free: 15.77 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004712/0.7339, allocations: 275.3 kB / 1.592 GB, free: 15.5 MB / 1.295 GB Notification: Performance of SimCode: time 6.92e-07/0.7339, allocations: 0 / 1.592 GB, free: 15.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6759/1.41, allocations: 30.46 MB / 1.622 GB, free: 275.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/14.03, allocations: 5.25 kB / 1.622 GB, free: 275.3 MB / 1.295 GB " [Timeout remaining time 286] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_12_Buildings_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Airflow_Multizone_Examples_PowerLaw.fmu > Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 20.338877514004707]