Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.0007753/0.0007753, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008578/0.0008578, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8455/0.8455, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.709/1.709, allocations: 377.9 MB / 0.6221 GB, free: 8.641 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.981 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.264e-05/1.415e-05, allocations: 2.281 kB / 0.981 GB, free: 2.566 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001392/0.001406, allocations: 1.31 MB / 0.9822 GB, free: 1.246 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0003634/0.00177, allocations: 271 kB / 0.9825 GB, free: 0.9805 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.437e-05/0.001794, allocations: 4 kB / 0.9825 GB, free: 0.9766 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.782e-05/0.001812, allocations: 3.938 kB / 0.9825 GB, free: 0.9727 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 8.083e-05/0.001893, allocations: 7.984 kB / 0.9825 GB, free: 0.9648 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002283/0.002121, allocations: 79.7 kB / 0.9826 GB, free: 0.8867 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.24e-05/0.002184, allocations: 35.84 kB / 0.9826 GB, free: 0.8516 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.505e-05/0.002219, allocations: 3.938 kB / 0.9826 GB, free: 0.8477 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.002322, allocations: 35.97 kB / 0.9827 GB, free: 0.8125 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.02e-05/0.002362, allocations: 11.92 kB / 0.9827 GB, free: 0.8008 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.002377, allocations: 4 kB / 0.9827 GB, free: 0.7969 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.002486, allocations: 75.91 kB / 0.9827 GB, free: 0.7227 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/0.0025, allocations: 7.984 kB / 0.9828 GB, free: 0.7148 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.573e-05/0.002516, allocations: 15.94 kB / 0.9828 GB, free: 0.6992 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.002645, allocations: 91.69 kB / 0.9829 GB, free: 0.6094 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.002647, allocations: 0 / 0.9829 GB, free: 0.6094 MB / 0.9323 GB Notification: Performance of FrontEnd: time 6.52e-07/0.002647, allocations: 0 / 0.9829 GB, free: 0.6094 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.002651, allocations: 0 / 0.9829 GB, free: 0.6094 MB / 0.9323 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.0002799/0.002931, allocations: 276.3 kB / 0.9831 GB, free: 320 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.002963, allocations: 12.03 kB / 0.9831 GB, free: 308 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.552e-05/0.002989, allocations: 34.75 kB / 0.9832 GB, free: 264 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.256e-05/0.003011, allocations: 8.891 kB / 0.9832 GB, free: 256 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.525e-05/0.003076, allocations: 113.7 kB / 0.9833 GB, free: 116 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.003088, allocations: 12.36 kB / 0.9833 GB, free: 104 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.733e-06/0.003095, allocations: 384 / 0.9833 GB, free: 104 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.25e-05/0.003187, allocations: 59.72 kB / 0.9833 GB, free: 32 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.003194, allocations: 0 / 0.9833 GB, free: 32 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.168e-06/0.003203, allocations: 8 kB / 0.9834 GB, free: 24 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.003207, allocations: 0 / 0.9834 GB, free: 24 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.332e-05/0.00324, allocations: 11.92 kB / 0.9834 GB, free: 12 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001271/0.003368, allocations: 128.8 kB / 0.9835 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.002e-05/0.003438, allocations: 34.52 kB / 0.9835 GB, free: 15.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.85e-05/0.003456, allocations: 12.91 kB / 0.9835 GB, free: 15.79 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003816/0.003838, allocations: 135.9 kB / 0.9837 GB, free: 15.65 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.003859, allocations: 42.48 kB / 0.9837 GB, free: 15.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.00386, allocations: 0 / 0.9837 GB, free: 15.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0001274/0.003988, allocations: 49.59 kB / 0.9838 GB, free: 15.55 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.495e-05/0.004013, allocations: 63.33 kB / 0.9838 GB, free: 15.47 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.037e-05/0.004063, allocations: 113.8 kB / 0.9839 GB, free: 15.35 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001547/0.004218, allocations: 25.7 kB / 0.9839 GB, free: 15.32 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.271e-05/0.004241, allocations: 84.12 kB / 0.984 GB, free: 15.23 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/0.004261, allocations: 7.953 kB / 0.984 GB, free: 15.23 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.606e-05/0.004287, allocations: 21.67 kB / 0.9841 GB, free: 15.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.706e-05/0.004354, allocations: 310.8 kB / 0.9844 GB, free: 14.89 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.285e-05/0.004367, allocations: 7.984 kB / 0.9844 GB, free: 14.88 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.708e-06/0.004376, allocations: 4 kB / 0.9844 GB, free: 14.88 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.668e-05/0.004403, allocations: 16.86 kB / 0.9844 GB, free: 14.86 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.004405, allocations: 0 / 0.9844 GB, free: 14.86 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.771e-05/0.004453, allocations: 49.95 kB / 0.9844 GB, free: 14.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.004464, allocations: 11.94 kB / 0.9844 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.004468, allocations: 0 / 0.9844 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.004477, allocations: 0 / 0.9844 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.844e-05/0.004516, allocations: 4 kB / 0.9844 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.00452, allocations: 320 / 0.9844 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.133e-05/0.004531, allocations: 4 kB / 0.9844 GB, free: 14.78 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-06/0.004535, allocations: 0 / 0.9844 GB, free: 14.78 MB / 0.948 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 5.125e-05/0.004587, allocations: 113.8 kB / 0.9846 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.563e-06/0.004593, allocations: 11.92 kB / 0.9846 GB, free: 14.65 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.676e-05/0.00468, allocations: 65.61 kB / 0.9846 GB, free: 14.58 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.004681, allocations: 0 / 0.9846 GB, free: 14.58 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.004685, allocations: 0 / 0.9846 GB, free: 14.58 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.004688, allocations: 0 / 0.9846 GB, free: 14.58 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.809e-05/0.004756, allocations: 136.7 kB / 0.9848 GB, free: 14.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.71e-07/0.004756, allocations: 0 / 0.9848 GB, free: 14.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.226e-05/0.004768, allocations: 4 kB / 0.9848 GB, free: 14.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.00477, allocations: 3.938 kB / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.004776, allocations: 0 / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.004777, allocations: 8 kB / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.004778, allocations: 4 kB / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.08e-05/0.004829, allocations: 65.12 kB / 0.9848 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.608e-05/0.004855, allocations: 11.94 kB / 0.9849 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.568e-06/0.004865, allocations: 3.938 kB / 0.9849 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.188e-05/0.004886, allocations: 11.88 kB / 0.9849 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.096e-05/0.004897, allocations: 7.938 kB / 0.9849 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.004901, allocations: 3.984 kB / 0.9849 GB, free: 14.26 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.463e-05/0.004925, allocations: 83.28 kB / 0.985 GB, free: 14.18 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.004926, allocations: 0 / 0.985 GB, free: 14.18 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001413/0.005067, allocations: 31.88 kB / 0.985 GB, free: 14.15 MB / 0.948 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.0002651/0.005332, allocations: 0.6396 MB / 0.9856 GB, free: 13.48 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.042e-05/0.005392, allocations: 15.94 kB / 0.9856 GB, free: 13.46 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.005394, allocations: 0 / 0.9856 GB, free: 13.46 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.918e-06/0.005404, allocations: 11.98 kB / 0.9856 GB, free: 13.45 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001367/0.00554, allocations: 0 / 0.9856 GB, free: 13.45 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002753/0.005816, allocations: 169.2 kB / 0.9858 GB, free: 13.25 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.447e-05/0.00585, allocations: 63.34 kB / 0.9859 GB, free: 13.16 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.481e-05/0.005875, allocations: 8 kB / 0.9859 GB, free: 13.16 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.294e-05/0.005898, allocations: 12.5 kB / 0.9859 GB, free: 13.14 MB / 0.948 GB Notification: Performance of SimCode: time 5.71e-07/0.005898, allocations: 0 / 0.9859 GB, free: 13.14 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01532/0.02122, allocations: 2.279 MB / 0.9881 GB, free: 11.01 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.445/6.466, allocations: 10.8 kB / 0.9881 GB, free: 11 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.407601309940219]