Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_9_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_9_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006557/0.006556, allocations: 99.81 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 195.1 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.778/1.778, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.049/2.049, allocations: 390.3 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 71.88 kB / 0.9504 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7144/0.7156, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002073/0.7177, allocations: 1.233 MB / 1.089 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001674/0.7194, allocations: 1.251 MB / 1.09 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.046e-05/0.7195, allocations: 0 / 1.09 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.564e-05/0.7195, allocations: 1.672 kB / 1.09 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006736/0.7202, allocations: 212.7 kB / 1.09 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 9.824e-05/0.7203, allocations: 36.84 kB / 1.09 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.562e-05/0.7204, allocations: 8.953 kB / 1.09 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.38e-05/0.7204, allocations: 11.08 kB / 1.09 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.465e-05/0.7204, allocations: 13.59 kB / 1.09 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1779/0.8984, allocations: 30.9 MB / 1.12 GB, free: 5.062 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.8984, allocations: 0 / 1.12 GB, free: 5.062 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 1.101e-05/0.8984, allocations: 5 kB / 1.12 GB, free: 5.059 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 1.612e-05/0.8984, allocations: 1.922 kB / 1.12 GB, free: 5.059 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 2.884e-05/0.8985, allocations: 6.688 kB / 1.12 GB, free: 5.055 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.8986, allocations: 15.05 kB / 1.12 GB, free: 5.047 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.8986, allocations: 0.8438 kB / 1.12 GB, free: 5.047 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.843e-06/0.8986, allocations: 0 / 1.12 GB, free: 5.047 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.257e-05/0.8986, allocations: 0 / 1.12 GB, free: 5.047 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002855/0.8989, allocations: 326.4 kB / 1.121 GB, free: 4.691 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.899, allocations: 9.797 kB / 1.121 GB, free: 4.691 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.308e-05/0.899, allocations: 107.1 kB / 1.121 GB, free: 4.578 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.496e-05/0.8991, allocations: 81.8 kB / 1.121 GB, free: 4.5 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.8992, allocations: 238.2 kB / 1.121 GB, free: 4.23 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.085e-05/0.8993, allocations: 150.9 kB / 1.121 GB, free: 4.082 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.891e-05/0.8993, allocations: 156.6 kB / 1.121 GB, free: 3.93 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.645e-05/0.8994, allocations: 109.9 kB / 1.121 GB, free: 3.816 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.8994, allocations: 75.28 kB / 1.122 GB, free: 3.742 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.038e-05/0.8995, allocations: 152 kB / 1.122 GB, free: 3.594 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.053e-05/0.8995, allocations: 150.6 kB / 1.122 GB, free: 3.445 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.466e-05/0.8996, allocations: 155.6 kB / 1.122 GB, free: 3.293 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002438/0.8999, allocations: 447.2 kB / 1.122 GB, free: 2.812 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 7.981e-05/0.8999, allocations: 174.2 kB / 1.123 GB, free: 2.633 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.104e-05/0.9, allocations: 80.14 kB / 1.123 GB, free: 2.551 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.9, allocations: 84.88 kB / 1.123 GB, free: 2.469 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.428e-05/0.9001, allocations: 111.7 kB / 1.123 GB, free: 2.352 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.9001, allocations: 0 / 1.123 GB, free: 2.352 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 7.652e-05/0.9002, allocations: 27.62 kB / 1.123 GB, free: 2.32 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.589e-05/0.9002, allocations: 205.7 kB / 1.123 GB, free: 2.09 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.133e-05/0.9003, allocations: 103.6 kB / 1.123 GB, free: 1.984 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.9004, allocations: 25.7 kB / 1.123 GB, free: 1.953 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 3.881e-05/0.9004, allocations: 82.17 kB / 1.123 GB, free: 1.871 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-06/0.9004, allocations: 4.969 kB / 1.123 GB, free: 1.867 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.027e-05/0.9005, allocations: 18.16 kB / 1.123 GB, free: 1.848 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 8.931e-05/0.9006, allocations: 312.8 kB / 1.124 GB, free: 1.535 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.99e-06/0.9006, allocations: 0 / 1.124 GB, free: 1.535 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.541e-05/0.9006, allocations: 19.03 kB / 1.124 GB, free: 1.512 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.409e-05/0.9006, allocations: 76.94 kB / 1.124 GB, free: 1.438 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.193e-05/0.9007, allocations: 75.28 kB / 1.124 GB, free: 1.363 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.829e-05/0.9007, allocations: 37.61 kB / 1.124 GB, free: 1.324 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.598e-05/0.9008, allocations: 85.19 kB / 1.124 GB, free: 1.246 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.626e-05/0.9008, allocations: 84.39 kB / 1.124 GB, free: 1.164 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.355e-05/0.9009, allocations: 156.2 kB / 1.124 GB, free: 1.012 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.294e-05/0.9009, allocations: 89 kB / 1.124 GB, free: 0.9258 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.385e-05/0.9009, allocations: 152.6 kB / 1.124 GB, free: 0.7773 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.9011, allocations: 82.77 kB / 1.124 GB, free: 0.6992 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.663e-05/0.9011, allocations: 81.44 kB / 1.124 GB, free: 0.6211 MB / 0.8731 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 (0): * Single equations (assignments): 0 * 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.0001088/0.9012, allocations: 258.5 kB / 1.125 GB, free: 368 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.671e-05/0.9013, allocations: 111.4 kB / 1.125 GB, free: 252 kB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.699e-05/0.9014, allocations: 111.8 kB / 1.125 GB, free: 136 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.64e-05/0.9014, allocations: 176.9 kB / 1.125 GB, free: 15.95 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.023e-05/0.9015, allocations: 182.6 kB / 1.125 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.332e-05/0.9015, allocations: 186.2 kB / 1.125 GB, free: 15.58 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.9017, allocations: 402.5 kB / 1.126 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.411e-05/0.9018, allocations: 115 kB / 1.126 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.096e-05/0.9018, allocations: 101.8 kB / 1.126 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-05/0.9019, allocations: 182.7 kB / 1.126 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.235e-05/0.9019, allocations: 182.1 kB / 1.126 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.117e-05/0.902, allocations: 181.9 kB / 1.127 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.092e-05/0.902, allocations: 182 kB / 1.127 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.9022, allocations: 313.9 kB / 1.127 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 6.415e-05/0.9022, allocations: 188.6 kB / 1.127 GB, free: 13.65 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.491e-05/0.9023, allocations: 178.8 kB / 1.127 GB, free: 13.47 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.9024, allocations: 109.2 kB / 1.128 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.475e-05/0.9025, allocations: 177.9 kB / 1.128 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-05/0.9025, allocations: 106.8 kB / 1.128 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 3.962e-05/0.9026, allocations: 86.52 kB / 1.128 GB, free: 12.99 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1e-07/0.9026, allocations: 0 / 1.128 GB, free: 12.99 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002425/0.9028, allocations: 3.781 kB / 1.128 GB, free: 12.99 MB / 0.8887 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 (0): * Single equations (assignments): 0 * 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.000342/0.9032, allocations: 0.81 MB / 1.129 GB, free: 12.17 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 5.444e-05/0.9033, allocations: 5.438 kB / 1.129 GB, free: 12.17 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.9033, allocations: 0 / 1.129 GB, free: 12.17 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 3.978e-06/0.9033, allocations: 6.078 kB / 1.129 GB, free: 12.16 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.9036, allocations: 454.5 kB / 1.129 GB, free: 11.72 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003787/0.904, allocations: 183.2 kB / 1.129 GB, free: 11.51 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002027/0.9042, allocations: 0.6772 MB / 1.13 GB, free: 10.81 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 3.054e-05/0.9043, allocations: 2.156 kB / 1.13 GB, free: 10.81 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.157e-05/0.9043, allocations: 8.531 kB / 1.13 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of SimCode: time 3.41e-07/0.9043, allocations: 0 / 1.13 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01956/0.9239, allocations: 1.275 MB / 1.131 GB, free: 10.34 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.99/7.914, allocations: 5.562 kB / 1.131 GB, free: 10.34 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad.fmu > Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches