Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.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 10.1.1-maint.10.0.x/package.mo", uses=false) 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.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Average",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.01036/0.01036, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.002038/0.002039, allocations: 191.2 kB / 16.67 MB, free: 5.52 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.448/2.448, allocations: 437 MB / 0.7105 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 63.84 kB / 1.018 GB, free: 9.828 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8908/0.8924, allocations: 151.6 MB / 1.166 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.002272/0.8948, allocations: 0.7119 MB / 1.167 GB, free: 3.176 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.896, allocations: 0.8001 MB / 1.168 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.485e-05/0.896, allocations: 0 / 1.168 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.007e-05/0.8961, allocations: 3.938 kB / 1.168 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.8962, allocations: 11.92 kB / 1.168 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 8.488e-05/0.8963, allocations: 11.98 kB / 1.168 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.8964, allocations: 39.86 kB / 1.168 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.8966, allocations: 23.92 kB / 1.168 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.9e-05/0.8967, allocations: 11.98 kB / 1.168 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.966e-05/0.8967, allocations: 19.92 kB / 1.168 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/0.8967, allocations: 7.984 kB / 1.168 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.239e-05/0.8968, allocations: 4 kB / 1.168 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.678e-05/0.8968, allocations: 11.92 kB / 1.168 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.609e-05/0.8968, allocations: 11.94 kB / 1.168 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.897, allocations: 39.81 kB / 1.168 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.897, allocations: 0 / 1.168 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.906e-06/0.897, allocations: 4 kB / 1.168 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.147e-05/0.897, allocations: 4 kB / 1.168 GB, free: 2.16 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006396/0.8977, allocations: 369.6 kB / 1.168 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.8977, allocations: 8.922 kB / 1.168 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.831e-05/0.8978, allocations: 30.75 kB / 1.168 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.772e-05/0.8978, allocations: 8.844 kB / 1.168 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.898, allocations: 172.2 kB / 1.168 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.898, allocations: 8.375 kB / 1.168 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.898, allocations: 4.375 kB / 1.168 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002589/0.8983, allocations: 62.22 kB / 1.169 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.8983, allocations: 3.938 kB / 1.169 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.8983, allocations: 8 kB / 1.169 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.8983, allocations: 0 / 1.169 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002572/0.8986, allocations: 71.92 kB / 1.169 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003764/0.899, allocations: 264.9 kB / 1.169 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/0.8992, allocations: 58.48 kB / 1.169 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001368/0.8993, allocations: 43.34 kB / 1.169 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.8993, allocations: 0 / 1.169 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.8994, allocations: 34.56 kB / 1.169 GB, free: 0.8672 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.8994, allocations: 3.938 kB / 1.169 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0005052/0.8999, allocations: 129.5 kB / 1.169 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.9, allocations: 55.39 kB / 1.169 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.085e-05/0.9001, allocations: 105.9 kB / 1.169 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.9001, allocations: 29.7 kB / 1.169 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.404e-05/0.9002, allocations: 92.03 kB / 1.169 GB, free: 432 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.9002, allocations: 7.844 kB / 1.169 GB, free: 424 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.575e-05/0.9002, allocations: 13.72 kB / 1.169 GB, free: 404 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.9004, allocations: 318.8 kB / 1.17 GB, free: 76 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.9005, allocations: 35.97 kB / 1.17 GB, free: 40 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.9006, allocations: 28.16 kB / 1.17 GB, free: 12 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000257/0.9009, allocations: 76.8 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.9009, allocations: 4 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003138/0.9012, allocations: 97.56 kB / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.9013, allocations: 14.58 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.9013, allocations: 0 / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.9013, allocations: 0 / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.9014, allocations: 15.98 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.9014, allocations: 0 / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.274e-05/0.9015, allocations: 15.98 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-06/0.9015, allocations: 0 / 1.17 GB, free: 15.79 MB / 0.9044 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 8.306e-05/0.9016, allocations: 113.8 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.9016, allocations: 7.906 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.834e-05/0.9017, allocations: 7.891 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.9017, allocations: 0 / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.9017, allocations: 0 / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.9017, allocations: 4 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.9019, allocations: 169.6 kB / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.9019, allocations: 4 kB / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.758e-05/0.902, allocations: 11.98 kB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.902, allocations: 3.984 kB / 1.17 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.902, allocations: 0 / 1.17 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.902, allocations: 0 / 1.17 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.902, allocations: 4 kB / 1.17 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003427/0.9024, allocations: 199.4 kB / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.101e-05/0.9024, allocations: 81.02 kB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.9024, allocations: 0 / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.993e-05/0.9025, allocations: 15.97 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.9026, allocations: 8 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.9026, allocations: 4 kB / 1.171 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.684e-05/0.9026, allocations: 91.27 kB / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9026, allocations: 0 / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002073/0.9029, allocations: 11.94 kB / 1.171 GB, free: 14.96 MB / 0.9044 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.0006801/0.9035, allocations: 0.7319 MB / 1.171 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000314/0.9039, allocations: 67.92 kB / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.9039, allocations: 0 / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.904, allocations: 31.97 kB / 1.171 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.9043, allocations: 8 kB / 1.172 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004346/0.9048, allocations: 163 kB / 1.172 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/0.905, allocations: 0.6845 MB / 1.172 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.887e-05/0.9051, allocations: 336 / 1.172 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.214e-05/0.9051, allocations: 19.42 kB / 1.172 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of SimCode: time 2.7e-07/0.9051, allocations: 4 kB / 1.172 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01683/0.922, allocations: 1.628 MB / 1.174 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.528/8.45, allocations: 11.89 kB / 1.174 GB, free: 11.62 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Average_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Average.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Average.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches