Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Modulo,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo,fileNamePrefix="Buildings_11_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.007648/0.007648, allocations: 101.1 kB / 15.73 MB, free: 6.059 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.002146/0.002146, allocations: 189.5 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.433/1.433, 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 11.1.0-maint.11.x/package.mo): time 2.71/2.71, allocations: 469.8 MB / 0.7425 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 67.84 kB / 1.065 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6694/0.6714, allocations: 159.1 MB / 1.22 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001853/0.6733, allocations: 0.7003 MB / 1.221 GB, free: 1.344 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.6743, allocations: 0.8702 MB / 1.222 GB, free: 472 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.43e-05/0.6744, allocations: 0 / 1.222 GB, free: 472 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.773e-05/0.6744, allocations: 3.938 kB / 1.222 GB, free: 468 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.517e-05/0.6745, allocations: 7.938 kB / 1.222 GB, free: 460 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001474/0.6746, allocations: 19.92 kB / 1.222 GB, free: 440 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.124e-05/0.6747, allocations: 51.84 kB / 1.222 GB, free: 388 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.263e-05/0.6748, allocations: 4 kB / 1.222 GB, free: 384 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.413e-05/0.6749, allocations: 19.98 kB / 1.222 GB, free: 364 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.933e-05/0.675, allocations: 23.84 kB / 1.222 GB, free: 340 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.675, allocations: 4 kB / 1.222 GB, free: 336 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.215e-05/0.675, allocations: 4 kB / 1.222 GB, free: 332 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.873e-05/0.675, allocations: 7.984 kB / 1.222 GB, free: 324 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.158e-05/0.6751, allocations: 15.94 kB / 1.222 GB, free: 308 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.24e-05/0.6752, allocations: 47.8 kB / 1.222 GB, free: 260 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.6752, allocations: 0 / 1.222 GB, free: 260 kB / 0.9356 GB Notification: Performance of FrontEnd: time 4.368e-06/0.6752, allocations: 0 / 1.222 GB, free: 260 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.6752, allocations: 3.938 kB / 1.222 GB, free: 256 kB / 0.9356 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.0005376/0.6757, allocations: 363 kB / 1.222 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.6758, allocations: 8.031 kB / 1.222 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.983e-05/0.6758, allocations: 38.75 kB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.378e-05/0.6758, allocations: 8.828 kB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.676, allocations: 176.4 kB / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.676, allocations: 384 / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.676, allocations: 4.375 kB / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002547/0.6763, allocations: 66.22 kB / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.6763, allocations: 3.938 kB / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.6763, allocations: 0 / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.6763, allocations: 0 / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003154/0.6766, allocations: 71.86 kB / 1.223 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003563/0.677, allocations: 276.9 kB / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/0.6772, allocations: 50.53 kB / 1.223 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/0.6774, allocations: 44.92 kB / 1.223 GB, free: 15 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.6774, allocations: 0 / 1.223 GB, free: 15 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.6775, allocations: 30.56 kB / 1.223 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 2.845e-06/0.6775, allocations: 0 / 1.223 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0005659/0.678, allocations: 133.5 kB / 1.223 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.6781, allocations: 55.41 kB / 1.223 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.156e-05/0.6782, allocations: 105.8 kB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.6782, allocations: 25.7 kB / 1.223 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.162e-05/0.6783, allocations: 92.08 kB / 1.223 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.6783, allocations: 7.906 kB / 1.223 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.083e-05/0.6783, allocations: 21.7 kB / 1.223 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.6785, allocations: 314.8 kB / 1.224 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.6786, allocations: 31.91 kB / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001614/0.6788, allocations: 35.95 kB / 1.224 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002991/0.6791, allocations: 76.66 kB / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.6791, allocations: 0 / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003408/0.6795, allocations: 93.91 kB / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.6795, allocations: 8 kB / 1.224 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.6795, allocations: 0 / 1.224 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.6795, allocations: 4.031 kB / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.6796, allocations: 15.98 kB / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.6797, allocations: 4 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.98e-05/0.6798, allocations: 19.92 kB / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.6798, allocations: 4 kB / 1.224 GB, free: 13.87 MB / 0.9512 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 7.841e-05/0.6798, allocations: 112.8 kB / 1.224 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.6799, allocations: 4 kB / 1.224 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.257e-05/0.6799, allocations: 7.906 kB / 1.224 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.6799, allocations: 0 / 1.224 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.6799, allocations: 3.938 kB / 1.224 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.6799, allocations: 4 kB / 1.224 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001834/0.6801, allocations: 173.6 kB / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.6801, allocations: 3.938 kB / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.6802, allocations: 15.98 kB / 1.224 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.6803, allocations: 0 / 1.224 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.6803, allocations: 0 / 1.224 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.6803, allocations: 0 / 1.224 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.6803, allocations: 4 kB / 1.224 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004009/0.6807, allocations: 203.4 kB / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.426e-05/0.6807, allocations: 77.11 kB / 1.225 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.6808, allocations: 0 / 1.225 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.6809, allocations: 11.98 kB / 1.225 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.172e-05/0.6809, allocations: 7.984 kB / 1.225 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.6809, allocations: 4 kB / 1.225 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.197e-05/0.681, allocations: 83.28 kB / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.681, allocations: 3.938 kB / 1.225 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002313/0.6812, allocations: 8 kB / 1.225 GB, free: 13.05 MB / 0.9512 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.0007222/0.682, allocations: 0.7324 MB / 1.225 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003618/0.6823, allocations: 67.92 kB / 1.226 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6823, allocations: 3.938 kB / 1.226 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001793/0.6825, allocations: 47.89 kB / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.6828, allocations: 10.03 kB / 1.226 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004198/0.6833, allocations: 159 kB / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.6836, allocations: 0.6845 MB / 1.226 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.979e-05/0.6836, allocations: 4 kB / 1.226 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.705e-05/0.6836, allocations: 15.42 kB / 1.226 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of SimCode: time 2.71e-07/0.6837, allocations: 4 kB / 1.226 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02116/0.7048, allocations: 1.668 MB / 1.228 GB, free: 9.664 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.752/8.456, allocations: 19.67 kB / 1.228 GB, free: 9.648 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches