Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Airflow.Multizone.BaseClasses.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.001766/0.001766, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002291/0.002291, allocations: 212.2 kB / 22.24 MB, free: 5.242 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.608/1.608, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.909/2.909, allocations: 476 MB / 0.7699 GB, free: 4.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_BaseClasses_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.002101/0.002101, allocations: 66.38 kB / 1.117 GB, free: 41.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.392, allocations: 170 MB / 1.283 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.003094/0.3951, allocations: 1.278 MB / 1.284 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003816/0.3955, allocations: 99.67 kB / 1.284 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.256e-05/0.3955, allocations: 0 / 1.284 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.983e-05/0.3955, allocations: 3.938 kB / 1.284 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.422e-05/0.3956, allocations: 0 / 1.284 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002762/0.3959, allocations: 43.83 kB / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.817e-05/0.396, allocations: 23.86 kB / 1.284 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.871e-05/0.396, allocations: 4.078 kB / 1.284 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.723e-05/0.3961, allocations: 4 kB / 1.284 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.762e-05/0.3961, allocations: 0 / 1.284 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.3961, allocations: 4 kB / 1.284 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000165/0.3963, allocations: 47.94 kB / 1.284 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.005e-05/0.3963, allocations: 3.938 kB / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.54e-05/0.3963, allocations: 8 kB / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.3965, allocations: 49.02 kB / 1.284 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3965, allocations: 0 / 1.284 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3965, allocations: 0 / 1.284 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.3965, allocations: 0 / 1.284 GB, free: 10.9 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004542/0.397, allocations: 266.2 kB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.397, allocations: 8.031 kB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.217e-05/0.397, allocations: 34.75 kB / 1.284 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.628e-05/0.3971, allocations: 0.9375 kB / 1.284 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.3972, allocations: 106.5 kB / 1.284 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.3972, allocations: 8.375 kB / 1.284 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.3972, allocations: 4.125 kB / 1.284 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.3974, allocations: 37.64 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.3974, allocations: 0 / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.3974, allocations: 3.984 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.3974, allocations: 0 / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.883e-05/0.3974, allocations: 7.984 kB / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001817/0.3976, allocations: 120.8 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.827e-05/0.3977, allocations: 18.61 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.838e-05/0.3977, allocations: 12.86 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000491/0.3982, allocations: 99.84 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.3982, allocations: 30.56 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3982, allocations: 0 / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001689/0.3984, allocations: 37.7 kB / 1.285 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.3984, allocations: 55.41 kB / 1.285 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.806e-05/0.3985, allocations: 97.84 kB / 1.285 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.3985, allocations: 29.7 kB / 1.285 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.447e-05/0.3986, allocations: 80.14 kB / 1.285 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/0.3986, allocations: 4.078 kB / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.76e-05/0.3987, allocations: 17.72 kB / 1.285 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3988, allocations: 318.8 kB / 1.285 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.625e-05/0.3988, allocations: 8 kB / 1.285 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.929e-06/0.3988, allocations: 3.938 kB / 1.285 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.415e-05/0.3989, allocations: 12.86 kB / 1.285 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3989, allocations: 3.938 kB / 1.285 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.664e-05/0.3989, allocations: 41.64 kB / 1.285 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.399, allocations: 4 kB / 1.285 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.399, allocations: 96 / 1.285 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.399, allocations: 11.98 kB / 1.286 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.314e-05/0.399, allocations: 0 / 1.286 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.399, allocations: 0 / 1.286 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.469e-05/0.3991, allocations: 7.953 kB / 1.286 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.3991, allocations: 0 / 1.286 GB, free: 9.246 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.586e-05/0.3992, allocations: 113.7 kB / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.593e-05/0.3992, allocations: 11.94 kB / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/0.3993, allocations: 45 kB / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3993, allocations: 0 / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3993, allocations: 0 / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3993, allocations: 4.031 kB / 1.286 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.3994, allocations: 124.7 kB / 1.286 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3994, allocations: 0 / 1.286 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.42e-05/0.3994, allocations: 4 kB / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3994, allocations: 0 / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.3994, allocations: 0 / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.3994, allocations: 0 / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3994, allocations: 0 / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.703e-05/0.3995, allocations: 73 kB / 1.286 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.886e-06/0.3995, allocations: 0 / 1.286 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.3996, allocations: 12.03 kB / 1.286 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.558e-05/0.3996, allocations: 0 / 1.286 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.541e-05/0.3996, allocations: 0 / 1.286 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.3996, allocations: 0 / 1.286 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.553e-05/0.3996, allocations: 79.28 kB / 1.286 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3996, allocations: 0 / 1.286 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001982/0.3998, allocations: 19.92 kB / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004758/0.4003, allocations: 0.6201 MB / 1.287 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.099e-05/0.4004, allocations: 8.031 kB / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4004, allocations: 4 kB / 1.287 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.351e-05/0.4004, allocations: 7.984 kB / 1.287 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.4007, allocations: 7.922 kB / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.4018, allocations: 1.088 MB / 1.288 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.456e-05/0.4019, allocations: 67.28 kB / 1.288 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.737e-05/0.4019, allocations: 4.188 kB / 1.288 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.236e-05/0.4019, allocations: 15.42 kB / 1.288 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of SimCode: time 5.61e-07/0.4019, allocations: 4 kB / 1.288 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03073/0.4326, allocations: 1.974 MB / 1.29 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/12.59, allocations: 11.05 kB / 1.29 GB, free: 4.891 MB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.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.06806128518656]