Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.001388/0.001388, allocations: 108.2 kB / 17.54 MB, free: 4.766 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.001437/0.001437, allocations: 182.7 kB / 20.71 MB, free: 1.609 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.314/1.314, allocations: 225.6 MB / 249.3 MB, free: 3.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.371/2.371, allocations: 443.5 MB / 0.7304 GB, free: 14.02 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 59.91 kB / 1.059 GB, free: 1.008 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2683, allocations: 160.7 MB / 1.216 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002332/0.2707, allocations: 1.298 MB / 1.217 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0005292/0.2712, allocations: 306.9 kB / 1.217 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.153e-05/0.2712, allocations: 0 / 1.217 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.49e-05/0.2712, allocations: 3.938 kB / 1.217 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.521e-05/0.2713, allocations: 7.922 kB / 1.217 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000276/0.2716, allocations: 79.7 kB / 1.217 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.154e-05/0.2717, allocations: 43.84 kB / 1.217 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.041e-05/0.2717, allocations: 0 / 1.217 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.2718, allocations: 27.92 kB / 1.217 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.866e-05/0.2719, allocations: 19.92 kB / 1.217 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.2719, allocations: 0 / 1.217 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000161/0.2721, allocations: 83.91 kB / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.033e-05/0.2721, allocations: 0 / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.011e-05/0.2721, allocations: 19.86 kB / 1.217 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001507/0.2723, allocations: 76 kB / 1.217 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2723, allocations: 0 / 1.217 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2723, allocations: 0 / 1.217 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.2723, allocations: 0 / 1.217 GB, free: 14.02 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003871/0.2726, allocations: 363.2 kB / 1.218 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.2727, allocations: 8.031 kB / 1.218 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.143e-05/0.2727, allocations: 42.69 kB / 1.218 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.453e-05/0.2727, allocations: 0.9375 kB / 1.218 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.2729, allocations: 172.3 kB / 1.218 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.2729, allocations: 384 / 1.218 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-06/0.2729, allocations: 4.125 kB / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.509e-05/0.273, allocations: 41.69 kB / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.273, allocations: 0 / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.273, allocations: 4 kB / 1.218 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.273, allocations: 4 kB / 1.218 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.974e-05/0.273, allocations: 11.98 kB / 1.218 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001594/0.2732, allocations: 157.7 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.707e-05/0.2733, allocations: 38.5 kB / 1.218 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.774e-05/0.2733, allocations: 20.84 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001112/0.2744, allocations: 1.179 MB / 1.219 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.2745, allocations: 34.55 kB / 1.219 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.2745, allocations: 0 / 1.219 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0001512/0.2746, allocations: 57.58 kB / 1.22 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.2747, allocations: 55.41 kB / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.675e-05/0.2747, allocations: 113.8 kB / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.2747, allocations: 25.7 kB / 1.22 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.692e-05/0.2748, allocations: 80.14 kB / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.2748, allocations: 7.953 kB / 1.22 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.2748, allocations: 17.72 kB / 1.22 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.275, allocations: 314.8 kB / 1.22 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.723e-05/0.275, allocations: 7.984 kB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.251e-05/0.275, allocations: 8 kB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.838e-05/0.275, allocations: 20.8 kB / 1.22 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.275, allocations: 0 / 1.22 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.069e-05/0.2751, allocations: 57.52 kB / 1.22 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.2751, allocations: 4 kB / 1.22 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.2751, allocations: 0 / 1.22 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.2751, allocations: 4 kB / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.779e-05/0.2752, allocations: 4 kB / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.2752, allocations: 0 / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.655e-05/0.2752, allocations: 0 / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.2752, allocations: 4 kB / 1.22 GB, free: 10.7 MB / 0.9669 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 (3): * Single equations (assignments): 3 * 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 7.175e-05/0.2753, allocations: 113.8 kB / 1.22 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.171e-05/0.2753, allocations: 3.938 kB / 1.22 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001256/0.2754, allocations: 61.53 kB / 1.22 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2754, allocations: 0 / 1.22 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.2754, allocations: 0 / 1.22 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.2754, allocations: 4 kB / 1.22 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001199/0.2755, allocations: 161.6 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.2755, allocations: 0 / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.756e-05/0.2756, allocations: 11.92 kB / 1.221 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2756, allocations: 0 / 1.221 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.495e-06/0.2756, allocations: 4 kB / 1.221 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2756, allocations: 0 / 1.221 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2756, allocations: 0 / 1.221 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.685e-05/0.2757, allocations: 77.39 kB / 1.221 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.784e-05/0.2757, allocations: 85.11 kB / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.2758, allocations: 3.984 kB / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.769e-05/0.2758, allocations: 4.047 kB / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.633e-05/0.2758, allocations: 7.984 kB / 1.221 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.2758, allocations: 0 / 1.221 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.349e-05/0.2759, allocations: 95.2 kB / 1.221 GB, free: 9.965 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2759, allocations: 0 / 1.221 GB, free: 9.965 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001987/0.2761, allocations: 27.88 kB / 1.221 GB, free: 9.938 MB / 0.9669 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 (3): * Single equations (assignments): 3 * 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.0004494/0.2765, allocations: 0.6435 MB / 1.221 GB, free: 9.266 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.178e-05/0.2766, allocations: 11.98 kB / 1.221 GB, free: 9.254 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.89e-06/0.2766, allocations: 11.88 kB / 1.221 GB, free: 9.242 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.42e-05/0.2766, allocations: 8 kB / 1.221 GB, free: 9.234 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.2768, allocations: 4 kB / 1.222 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003787/0.2772, allocations: 171.5 kB / 1.222 GB, free: 9.023 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.2774, allocations: 0.6768 MB / 1.222 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.361e-05/0.2775, allocations: 4 kB / 1.222 GB, free: 8.316 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.635e-05/0.2775, allocations: 15.44 kB / 1.222 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of SimCode: time 3.51e-07/0.2775, allocations: 0 / 1.222 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02279/0.3003, allocations: 1.598 MB / 1.224 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.957/7.258, allocations: 13.41 kB / 1.224 GB, free: 6.781 MB / 0.9669 GB " [Timeout remaining time 293] (rm -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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: 12.527978375997918]