Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Modulo,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo",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.007696/0.007696, allocations: 103.8 kB / 15.73 MB, free: 6.039 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.001556/0.001556, allocations: 193.8 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.859/2.859, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001542, allocations: 63.91 kB / 1.054 GB, free: 7.594 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.3926, allocations: 157.4 MB / 1.207 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002114/0.3948, allocations: 0.6983 MB / 1.208 GB, free: 9.383 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001212/0.396, allocations: 0.8663 MB / 1.209 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.127e-05/0.3961, allocations: 4 kB / 1.209 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.397e-05/0.3961, allocations: 0 / 1.209 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.937e-05/0.3963, allocations: 11.86 kB / 1.209 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002009/0.3965, allocations: 15.98 kB / 1.209 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.512e-05/0.3966, allocations: 47.78 kB / 1.209 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.3967, allocations: 8 kB / 1.209 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.993e-05/0.3968, allocations: 19.92 kB / 1.209 GB, free: 8.398 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.836e-05/0.3968, allocations: 31.84 kB / 1.209 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.3969, allocations: 4 kB / 1.209 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.102e-05/0.3969, allocations: 4 kB / 1.209 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.033e-05/0.3969, allocations: 7.984 kB / 1.209 GB, free: 8.352 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.127e-05/0.397, allocations: 15.92 kB / 1.209 GB, free: 8.336 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.939e-05/0.3971, allocations: 43.81 kB / 1.209 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3971, allocations: 0 / 1.209 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3971, allocations: 0 / 1.209 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.367e-06/0.3971, allocations: 0 / 1.209 GB, free: 8.293 MB / 0.9669 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.000555/0.3977, allocations: 367.6 kB / 1.209 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.3977, allocations: 12.62 kB / 1.209 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.545e-05/0.3977, allocations: 34.73 kB / 1.209 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.782e-05/0.3978, allocations: 4.938 kB / 1.209 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.3979, allocations: 168.2 kB / 1.21 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.3979, allocations: 4.375 kB / 1.21 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.398, allocations: 4.375 kB / 1.21 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002411/0.3982, allocations: 70.16 kB / 1.21 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.3982, allocations: 3.938 kB / 1.21 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.3982, allocations: 4 kB / 1.21 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.3982, allocations: 4 kB / 1.21 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00026/0.3985, allocations: 59.92 kB / 1.21 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003591/0.3989, allocations: 268.9 kB / 1.21 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.3991, allocations: 62.47 kB / 1.21 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.3992, allocations: 36.92 kB / 1.21 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.3993, allocations: 0 / 1.21 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.3993, allocations: 30.56 kB / 1.21 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.3993, allocations: 8 kB / 1.21 GB, free: 7 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.000524/0.3998, allocations: 125.6 kB / 1.21 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.3999, allocations: 55.41 kB / 1.21 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.478e-05/0.4, allocations: 117.7 kB / 1.21 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.4, allocations: 29.7 kB / 1.21 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.471e-05/0.4, allocations: 88.14 kB / 1.211 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.4001, allocations: 7.891 kB / 1.211 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.651e-05/0.4001, allocations: 17.66 kB / 1.211 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.4002, allocations: 314.8 kB / 1.211 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.4004, allocations: 35.95 kB / 1.211 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.4005, allocations: 31.97 kB / 1.211 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002706/0.4008, allocations: 72.72 kB / 1.211 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4008, allocations: 0 / 1.211 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002974/0.4011, allocations: 105.8 kB / 1.211 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.4011, allocations: 5.719 kB / 1.211 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.4011, allocations: 48 / 1.211 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.4011, allocations: 3.984 kB / 1.211 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.4013, allocations: 27.91 kB / 1.211 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.4013, allocations: 0 / 1.211 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.091e-05/0.4014, allocations: 11.98 kB / 1.211 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.4014, allocations: 0 / 1.211 GB, free: 5.91 MB / 0.9669 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.0001094/0.4015, allocations: 121.8 kB / 1.211 GB, free: 5.781 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.4015, allocations: 0 / 1.211 GB, free: 5.781 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.546e-05/0.4016, allocations: 7.906 kB / 1.211 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.4016, allocations: 0 / 1.211 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.507e-06/0.4016, allocations: 7.984 kB / 1.211 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.4016, allocations: 0 / 1.211 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.4018, allocations: 165.6 kB / 1.211 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4018, allocations: 0 / 1.211 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.927e-05/0.4019, allocations: 11.98 kB / 1.211 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.4019, allocations: 4 kB / 1.211 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.402, allocations: 8 kB / 1.211 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.402, allocations: 0 / 1.211 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.402, allocations: 3.984 kB / 1.211 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003396/0.4023, allocations: 195.3 kB / 1.212 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.126e-05/0.4024, allocations: 85.05 kB / 1.212 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.4024, allocations: 4 kB / 1.212 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.964e-05/0.4025, allocations: 7.984 kB / 1.212 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.875e-05/0.4025, allocations: 11.98 kB / 1.212 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.4026, allocations: 0 / 1.212 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.704e-05/0.4026, allocations: 91.27 kB / 1.212 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.4026, allocations: 0 / 1.212 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002174/0.4028, allocations: 4 kB / 1.212 GB, free: 5.094 MB / 0.9669 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.0006953/0.4035, allocations: 0.7357 MB / 1.213 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003203/0.4039, allocations: 75.86 kB / 1.213 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4039, allocations: 0 / 1.213 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001343/0.404, allocations: 31.97 kB / 1.213 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.4044, allocations: 8 kB / 1.213 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005422/0.4049, allocations: 168.8 kB / 1.213 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.4052, allocations: 0.6884 MB / 1.214 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.079e-05/0.4052, allocations: 7.984 kB / 1.214 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.53e-05/0.4053, allocations: 11.44 kB / 1.214 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.4053, allocations: 7.938 kB / 1.214 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01876/0.4241, allocations: 1.67 MB / 1.215 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.581/8.005, allocations: 10.31 kB / 1.215 GB, free: 1.688 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches