Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00178/0.00178, allocations: 102.7 kB / 16.45 MB, free: 6.449 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.002186/0.002186, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.497/1.497, allocations: 230.6 MB / 252.8 MB, free: 9.113 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 3.295/3.295, allocations: 0.505 GB / 0.8066 GB, free: 23.09 MB / 0.6231 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.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",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.002064/0.002064, allocations: 65.11 kB / 1.172 GB, free: 17.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3972/0.3993, allocations: 180.2 MB / 1.348 GB, free: 10.07 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002279/0.4016, allocations: 1.3 MB / 1.349 GB, free: 8.758 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0005254/0.4021, allocations: 295.4 kB / 1.349 GB, free: 8.469 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.9e-05/0.4021, allocations: 0 / 1.349 GB, free: 8.469 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.521e-05/0.4021, allocations: 0 / 1.349 GB, free: 8.469 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.83e-05/0.4022, allocations: 7.922 kB / 1.349 GB, free: 8.461 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000255/0.4025, allocations: 59.73 kB / 1.349 GB, free: 8.402 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.779e-05/0.4025, allocations: 43.84 kB / 1.349 GB, free: 8.359 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.652e-05/0.4026, allocations: 4 kB / 1.349 GB, free: 8.355 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.4027, allocations: 23.92 kB / 1.349 GB, free: 8.332 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.596e-05/0.4027, allocations: 15.91 kB / 1.349 GB, free: 8.316 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.4027, allocations: 4 kB / 1.349 GB, free: 8.312 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001592/0.4029, allocations: 87.78 kB / 1.35 GB, free: 8.227 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.414e-05/0.4029, allocations: 7.938 kB / 1.35 GB, free: 8.219 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.542e-05/0.4029, allocations: 7.938 kB / 1.35 GB, free: 8.211 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.4031, allocations: 76 kB / 1.35 GB, free: 8.137 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.4031, allocations: 8 kB / 1.35 GB, free: 8.129 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.263e-06/0.4031, allocations: 0 / 1.35 GB, free: 8.129 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.894e-06/0.4031, allocations: 0 / 1.35 GB, free: 8.129 MB / 1.045 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.0003987/0.4035, allocations: 347.2 kB / 1.35 GB, free: 7.742 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.4036, allocations: 19.97 kB / 1.35 GB, free: 7.723 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.13e-05/0.4036, allocations: 30.75 kB / 1.35 GB, free: 7.684 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004548/0.404, allocations: 48.86 kB / 1.35 GB, free: 7.637 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.4042, allocations: 176.3 kB / 1.35 GB, free: 7.426 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.4042, allocations: 4.312 kB / 1.35 GB, free: 7.422 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.4042, allocations: 4.125 kB / 1.35 GB, free: 7.418 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.4044, allocations: 65.62 kB / 1.35 GB, free: 7.348 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.4044, allocations: 4 kB / 1.35 GB, free: 7.344 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.4044, allocations: 4 kB / 1.35 GB, free: 7.34 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.4044, allocations: 0 / 1.35 GB, free: 7.34 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001651/0.4046, allocations: 31.97 kB / 1.35 GB, free: 7.309 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004283/0.405, allocations: 260.9 kB / 1.351 GB, free: 7.004 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.4052, allocations: 46.5 kB / 1.351 GB, free: 6.949 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.047e-05/0.4052, allocations: 16.91 kB / 1.351 GB, free: 6.93 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.4052, allocations: 0 / 1.351 GB, free: 6.93 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.4053, allocations: 34.56 kB / 1.351 GB, free: 6.887 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.4053, allocations: 3.938 kB / 1.351 GB, free: 6.883 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0002755/0.4056, allocations: 69.62 kB / 1.351 GB, free: 6.809 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.4056, allocations: 59.47 kB / 1.351 GB, free: 6.738 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.676e-05/0.4057, allocations: 109.8 kB / 1.351 GB, free: 6.621 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.4057, allocations: 25.7 kB / 1.351 GB, free: 6.59 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.149e-05/0.4057, allocations: 80.14 kB / 1.351 GB, free: 6.508 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.789e-05/0.4058, allocations: 7.953 kB / 1.351 GB, free: 6.5 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.852e-05/0.4058, allocations: 13.72 kB / 1.351 GB, free: 6.48 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.4059, allocations: 318.8 kB / 1.351 GB, free: 6.16 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.938e-05/0.406, allocations: 11.98 kB / 1.351 GB, free: 6.148 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.091e-05/0.406, allocations: 15.98 kB / 1.351 GB, free: 6.133 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.4061, allocations: 24.84 kB / 1.351 GB, free: 6.105 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.4061, allocations: 0 / 1.351 GB, free: 6.105 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001503/0.4063, allocations: 57.67 kB / 1.351 GB, free: 6.043 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.4063, allocations: 7.938 kB / 1.351 GB, free: 6.035 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.4063, allocations: 4.094 kB / 1.351 GB, free: 6.031 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.4063, allocations: 0 / 1.351 GB, free: 6.031 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.347e-05/0.4064, allocations: 4 kB / 1.351 GB, free: 6.027 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.4064, allocations: 3.938 kB / 1.351 GB, free: 6.023 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.026e-05/0.4065, allocations: 7.984 kB / 1.351 GB, free: 6.016 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.4065, allocations: 4 kB / 1.351 GB, free: 6.012 MB / 1.045 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.31e-05/0.4065, allocations: 117.8 kB / 1.352 GB, free: 5.887 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.4066, allocations: 3.953 kB / 1.352 GB, free: 5.883 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.106e-05/0.4066, allocations: 7.531 kB / 1.352 GB, free: 5.867 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.4066, allocations: 4 kB / 1.352 GB, free: 5.863 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.4066, allocations: 0 / 1.352 GB, free: 5.863 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.4066, allocations: 0 / 1.352 GB, free: 5.863 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/0.4068, allocations: 165.6 kB / 1.352 GB, free: 5.652 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.4068, allocations: 4 kB / 1.352 GB, free: 5.648 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.713e-05/0.4069, allocations: 8 kB / 1.352 GB, free: 5.641 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.4069, allocations: 3.984 kB / 1.352 GB, free: 5.637 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.4069, allocations: 0 / 1.352 GB, free: 5.637 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.4069, allocations: 0 / 1.352 GB, free: 5.637 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.4069, allocations: 0 / 1.352 GB, free: 5.637 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000207/0.4071, allocations: 163.3 kB / 1.352 GB, free: 5.461 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.079e-05/0.4071, allocations: 89 kB / 1.352 GB, free: 5.355 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.4072, allocations: 4 kB / 1.352 GB, free: 5.352 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.164e-05/0.4072, allocations: 3.984 kB / 1.352 GB, free: 5.348 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.564e-05/0.4073, allocations: 4 kB / 1.352 GB, free: 5.344 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.4073, allocations: 0 / 1.352 GB, free: 5.344 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.195e-05/0.4073, allocations: 83.31 kB / 1.352 GB, free: 5.262 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4073, allocations: 0 / 1.352 GB, free: 5.262 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002212/0.4075, allocations: 11.98 kB / 1.352 GB, free: 5.25 MB / 1.045 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.0004899/0.408, allocations: 0.6812 MB / 1.353 GB, free: 4.543 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000153/0.4082, allocations: 35.92 kB / 1.353 GB, free: 4.508 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4082, allocations: 0 / 1.353 GB, free: 4.508 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.706e-05/0.4082, allocations: 11.98 kB / 1.353 GB, free: 4.496 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.4085, allocations: 0 / 1.353 GB, free: 4.496 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004846/0.409, allocations: 163.8 kB / 1.353 GB, free: 4.297 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.4093, allocations: 0.6807 MB / 1.354 GB, free: 3.59 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.977e-05/0.4093, allocations: 7.984 kB / 1.354 GB, free: 3.582 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.46e-05/0.4093, allocations: 11.38 kB / 1.354 GB, free: 3.574 MB / 1.045 GB Notification: Performance of SimCode: time 3.3e-07/0.4093, allocations: 4 kB / 1.354 GB, free: 3.57 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02297/0.4323, allocations: 1.221 MB / 1.355 GB, free: 2.488 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.441/8.873, allocations: 15.95 kB / 1.355 GB, free: 2.477 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.029971630778164]