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.001656/0.001656, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002123/0.002123, allocations: 220.9 kB / 22.26 MB, free: 5.125 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 / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.135/3.135, allocations: 0.49 GB / 0.7951 GB, free: 33.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002019/0.002019, allocations: 66.52 kB / 1.154 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3746/0.3766, allocations: 176.1 MB / 1.326 GB, free: 1.941 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.003063/0.3797, allocations: 1.319 MB / 1.327 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0008046/0.3805, allocations: 302.9 kB / 1.327 GB, free: 328 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.605e-05/0.3806, allocations: 0 / 1.327 GB, free: 328 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.223e-05/0.3806, allocations: 7.938 kB / 1.327 GB, free: 320 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001555/0.3807, allocations: 15.91 kB / 1.327 GB, free: 304 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004215/0.3812, allocations: 71.72 kB / 1.328 GB, free: 232 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.3813, allocations: 39.86 kB / 1.328 GB, free: 192 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.27e-05/0.3814, allocations: 0 / 1.328 GB, free: 192 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001668/0.3815, allocations: 35.84 kB / 1.328 GB, free: 156 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.237e-05/0.3816, allocations: 15.92 kB / 1.328 GB, free: 140 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.3816, allocations: 0 / 1.328 GB, free: 140 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002142/0.3819, allocations: 83.91 kB / 1.328 GB, free: 56 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.666e-05/0.3819, allocations: 0 / 1.328 GB, free: 56 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.122e-05/0.3819, allocations: 15.92 kB / 1.328 GB, free: 40 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.3822, allocations: 76 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3822, allocations: 4 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.484e-06/0.3822, allocations: 0 / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.3822, allocations: 0 / 1.328 GB, free: 15.96 MB / 1.029 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.0005754/0.3828, allocations: 282.1 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.121e-05/0.3828, allocations: 12.03 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.457e-05/0.3829, allocations: 34.69 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.511e-05/0.3829, allocations: 0.9375 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.3831, allocations: 114.4 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.3831, allocations: 8.297 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/0.3831, allocations: 16.06 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.3833, allocations: 33.7 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.3833, allocations: 0 / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.3833, allocations: 0 / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.3833, allocations: 0 / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.883e-05/0.3834, allocations: 11.98 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000231/0.3836, allocations: 132.8 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.3837, allocations: 38.5 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.974e-05/0.3837, allocations: 12.86 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007569/0.3845, allocations: 143.9 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.494e-05/0.3845, allocations: 38.56 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.3845, allocations: 0 / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0002102/0.3848, allocations: 49.69 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.499e-05/0.3848, allocations: 51.41 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.3849, allocations: 105.8 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.385, allocations: 29.64 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.69e-05/0.385, allocations: 80.14 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.852e-05/0.3851, allocations: 15.91 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.349e-05/0.3851, allocations: 17.72 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000195/0.3853, allocations: 314.8 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.302e-05/0.3853, allocations: 8 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.156e-05/0.3853, allocations: 192 / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.462e-05/0.3854, allocations: 20.94 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3854, allocations: 0 / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.299e-05/0.3855, allocations: 49.62 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.3855, allocations: 9.875 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3855, allocations: 0 / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.3855, allocations: 0 / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.775e-05/0.3856, allocations: 11.94 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.3856, allocations: 4.297 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.257e-05/0.3856, allocations: 4 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.3856, allocations: 4 kB / 1.329 GB, free: 14.15 MB / 1.029 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 0.0001224/0.3858, allocations: 107.2 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.122e-05/0.3858, allocations: 11.89 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001909/0.386, allocations: 65.61 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.386, allocations: 4 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.386, allocations: 0 / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.386, allocations: 0 / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001696/0.3862, allocations: 140.6 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.3862, allocations: 4 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.985e-05/0.3862, allocations: 7.938 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.3862, allocations: 0 / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.3862, allocations: 0 / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3862, allocations: 0 / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.3862, allocations: 0 / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.3864, allocations: 85.02 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.405e-05/0.3864, allocations: 7.984 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.3864, allocations: 0 / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.186e-05/0.3865, allocations: 0 / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.857e-05/0.3865, allocations: 0 / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.353e-06/0.3865, allocations: 4 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.231e-05/0.3866, allocations: 87.27 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3866, allocations: 4 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002901/0.3868, allocations: 27.88 kB / 1.33 GB, free: 13.52 MB / 1.029 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.0006397/0.3875, allocations: 0.6434 MB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001302/0.3876, allocations: 15.98 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3876, allocations: 0 / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.743e-05/0.3876, allocations: 15.94 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.388, allocations: 4 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005952/0.3886, allocations: 164.1 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003996/0.389, allocations: 0.6807 MB / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.698e-05/0.389, allocations: 11.98 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.816e-05/0.3891, allocations: 7.438 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.3891, allocations: 3.938 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02848/0.4175, allocations: 1.728 MB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.99, allocations: 7.828 kB / 1.333 GB, free: 10.29 MB / 1.029 GB " [Timeout remaining time 289] (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/jenkins1/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: 17.785836412000208]