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.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.001315/0.001315, allocations: 119.6 kB / 17.16 MB, free: 5.914 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.001447/0.001447, allocations: 211 kB / 20.13 MB, free: 2.969 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.46/1.46, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.938/2.938, allocations: 0.5003 GB / 0.8026 GB, free: 6.672 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="cs",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.001946/0.001946, allocations: 67.89 kB / 1.165 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8635/0.8654, allocations: 178.9 MB / 1.34 GB, free: 16.22 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2466/1.112, allocations: 196.3 MB / 1.532 GB, free: 3.812 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.007643/1.12, allocations: 4.031 MB / 1.536 GB, free: 15.77 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001055/1.121, allocations: 27.81 kB / 1.536 GB, free: 15.75 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001626/1.122, allocations: 0.4892 MB / 1.536 GB, free: 15.25 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004477/1.127, allocations: 1.589 MB / 1.538 GB, free: 13.66 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003824/1.131, allocations: 1.366 MB / 1.539 GB, free: 12.29 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.00275/1.133, allocations: 1.621 MB / 1.541 GB, free: 10.67 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00142/1.135, allocations: 0.869 MB / 1.542 GB, free: 9.785 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002615/1.137, allocations: 1.098 MB / 1.543 GB, free: 8.684 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00182/1.139, allocations: 0.915 MB / 1.544 GB, free: 7.766 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0003941/1.14, allocations: 100 kB / 1.544 GB, free: 7.668 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003094/1.143, allocations: 1.379 MB / 1.545 GB, free: 6.285 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0005947/1.143, allocations: 362.9 kB / 1.545 GB, free: 5.93 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001031/1.144, allocations: 0.5172 MB / 1.546 GB, free: 5.41 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.003467/1.148, allocations: 1.67 MB / 1.547 GB, free: 3.734 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/1.148, allocations: 0 / 1.547 GB, free: 3.734 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.182e-06/1.148, allocations: 0 / 1.547 GB, free: 3.734 MB / 1.217 GB Notification: Performance of Transformations before backend: time 4.763e-05/1.148, allocations: 0 / 1.547 GB, free: 3.734 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.003516/1.151, allocations: 1.268 MB / 1.549 GB, free: 2.414 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/1.151, allocations: 8.031 kB / 1.549 GB, free: 2.406 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.787e-05/1.151, allocations: 13 kB / 1.549 GB, free: 2.395 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001891/1.152, allocations: 94.5 kB / 1.549 GB, free: 2.293 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001721/1.153, allocations: 247.2 kB / 1.549 GB, free: 2.051 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/1.155, allocations: 0.6233 MB / 1.55 GB, free: 1.387 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.031e-05/1.155, allocations: 37 kB / 1.55 GB, free: 1.352 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001454/1.155, allocations: 48 kB / 1.55 GB, free: 1.305 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00184/1.157, allocations: 0.9999 MB / 1.551 GB, free: 240 kB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.325e-05/1.157, allocations: 11.89 kB / 1.551 GB, free: 228 kB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.166e-05/1.157, allocations: 20 kB / 1.551 GB, free: 208 kB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.46e-05/1.157, allocations: 31.92 kB / 1.551 GB, free: 176 kB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001902/1.159, allocations: 1.003 MB / 1.552 GB, free: 15.16 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006069/1.165, allocations: 4.136 MB / 1.556 GB, free: 10.86 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/1.166, allocations: 0.5563 MB / 1.556 GB, free: 10.3 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008714/1.167, allocations: 485.9 kB / 1.557 GB, free: 9.816 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001168/1.168, allocations: 0.89 MB / 1.558 GB, free: 8.742 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.608e-05/1.168, allocations: 35 kB / 1.558 GB, free: 8.699 MB / 1.232 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002417/1.17, allocations: 0.6322 MB / 1.558 GB, free: 8.066 MB / 1.232 GB Notification: Performance of pre-optimization done (n=50): time 4.047e-06/1.17, allocations: 4 kB / 1.558 GB, free: 8.062 MB / 1.232 GB Notification: Performance of matching and sorting (n=50): time 0.01869/1.189, allocations: 3.838 MB / 1.562 GB, free: 4.176 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/1.189, allocations: 55.84 kB / 1.562 GB, free: 4.109 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/1.19, allocations: 0.7116 MB / 1.563 GB, free: 3.391 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001597/1.19, allocations: 37.7 kB / 1.563 GB, free: 3.348 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003195/1.191, allocations: 313 kB / 1.563 GB, free: 3.039 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002647/1.191, allocations: 190.3 kB / 1.563 GB, free: 2.852 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003193/1.191, allocations: 154 kB / 1.563 GB, free: 2.695 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001519/1.191, allocations: 330 kB / 1.564 GB, free: 2.367 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007613/1.192, allocations: 396.9 kB / 1.564 GB, free: 1.977 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008622/1.193, allocations: 485.5 kB / 1.565 GB, free: 1.477 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001706/1.195, allocations: 0.918 MB / 1.566 GB, free: 0.5312 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/1.195, allocations: 0 / 1.566 GB, free: 0.5312 MB / 1.232 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01222/1.207, allocations: 2.557 MB / 1.568 GB, free: 13.95 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/1.207, allocations: 4 kB / 1.568 GB, free: 13.95 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/1.207, allocations: 11.94 kB / 1.568 GB, free: 13.94 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0102/1.217, allocations: 1.734 MB / 1.57 GB, free: 12.2 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005463/1.218, allocations: 95.86 kB / 1.57 GB, free: 12.11 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01486/1.233, allocations: 7.14 MB / 1.577 GB, free: 4.668 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009537/1.234, allocations: 16.06 kB / 1.577 GB, free: 4.652 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002091/1.234, allocations: 47.92 kB / 1.577 GB, free: 4.605 MB / 1.248 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.0005413/1.234, allocations: 201.8 kB / 1.577 GB, free: 4.398 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003507/1.235, allocations: 91.41 kB / 1.577 GB, free: 4.309 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005671/1.24, allocations: 1.726 MB / 1.579 GB, free: 2.57 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/1.24, allocations: 12 kB / 1.579 GB, free: 2.559 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.321e-05/1.24, allocations: 4 kB / 1.579 GB, free: 2.555 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/1.24, allocations: 0 / 1.579 GB, free: 2.555 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006739/1.247, allocations: 2.536 MB / 1.581 GB, free: 15.93 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/1.247, allocations: 4 kB / 1.581 GB, free: 15.93 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000479/1.248, allocations: 87.89 kB / 1.581 GB, free: 15.84 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003638/1.251, allocations: 0.7939 MB / 1.582 GB, free: 15.04 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001059/1.251, allocations: 16 kB / 1.582 GB, free: 15.03 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007957/1.259, allocations: 4.856 MB / 1.587 GB, free: 9.891 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/1.259, allocations: 7.938 kB / 1.587 GB, free: 9.883 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006048/1.265, allocations: 2.14 MB / 1.589 GB, free: 7.703 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005902/1.266, allocations: 232.5 kB / 1.589 GB, free: 7.457 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002294/1.266, allocations: 15.94 kB / 1.589 GB, free: 7.441 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007281/1.267, allocations: 27.97 kB / 1.589 GB, free: 7.414 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000227/1.267, allocations: 56.38 kB / 1.589 GB, free: 7.359 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.018e-05/1.267, allocations: 20 kB / 1.589 GB, free: 7.34 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0008175/1.268, allocations: 0.499 MB / 1.59 GB, free: 6.844 MB / 1.264 GB Notification: Performance of sort global known variables: time 9e-08/1.268, allocations: 0 / 1.59 GB, free: 6.844 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001183/1.269, allocations: 287.8 kB / 1.59 GB, free: 6.562 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.006529/1.276, allocations: 2.786 MB / 1.593 GB, free: 3.719 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.003996/1.28, allocations: 1.414 MB / 1.594 GB, free: 2.285 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/1.28, allocations: 0 / 1.594 GB, free: 2.285 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002064/1.282, allocations: 0.864 MB / 1.595 GB, free: 1.395 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002426/1.284, allocations: 456.7 kB / 1.596 GB, free: 0.9531 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03343/1.318, allocations: 10.44 MB / 1.606 GB, free: 6.328 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000831/1.319, allocations: 0.9828 MB / 1.607 GB, free: 5.32 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0007456/1.319, allocations: 158.6 kB / 1.607 GB, free: 5.16 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005293/1.32, allocations: 283.3 kB / 1.607 GB, free: 4.883 MB / 1.279 GB Notification: Performance of SimCode: time 1.022e-06/1.32, allocations: 7.875 kB / 1.607 GB, free: 4.875 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0719/1.392, allocations: 29.82 MB / 1.636 GB, free: 7.398 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/13.3, allocations: 21.89 kB / 1.636 GB, free: 7.379 MB / 1.311 GB " [Timeout remaining time 287] (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/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: 19.759638713963795]