Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Modulo,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo,fileNamePrefix="Buildings_10_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.007526/0.007526, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.00178/0.00178, allocations: 194.3 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.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.563/2.563, allocations: 437 MB / 0.7105 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 63.91 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3011, allocations: 151.6 MB / 1.166 GB, free: 7.285 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002561/0.3038, allocations: 0.7139 MB / 1.167 GB, free: 6.57 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001494/0.3053, allocations: 0.8783 MB / 1.168 GB, free: 5.68 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.422e-05/0.3053, allocations: 0 / 1.168 GB, free: 5.68 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.768e-05/0.3054, allocations: 3.938 kB / 1.168 GB, free: 5.676 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.21e-05/0.3055, allocations: 7.922 kB / 1.168 GB, free: 5.668 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002022/0.3057, allocations: 15.98 kB / 1.168 GB, free: 5.652 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.3058, allocations: 43.86 kB / 1.168 GB, free: 5.609 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.306, allocations: 15.98 kB / 1.168 GB, free: 5.594 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.281e-05/0.3061, allocations: 15.92 kB / 1.168 GB, free: 5.578 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.793e-05/0.3062, allocations: 27.91 kB / 1.168 GB, free: 5.551 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.3062, allocations: 4 kB / 1.168 GB, free: 5.547 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.342e-05/0.3062, allocations: 0 / 1.168 GB, free: 5.547 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.679e-05/0.3063, allocations: 11.98 kB / 1.168 GB, free: 5.535 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.949e-05/0.3063, allocations: 15.88 kB / 1.168 GB, free: 5.52 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001216/0.3064, allocations: 40.09 kB / 1.168 GB, free: 5.48 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3065, allocations: 0 / 1.168 GB, free: 5.48 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3065, allocations: 4 kB / 1.168 GB, free: 5.477 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.768e-06/0.3065, allocations: 0 / 1.168 GB, free: 5.477 MB / 0.92 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.0007287/0.3072, allocations: 367.3 kB / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.3073, allocations: 8.031 kB / 1.168 GB, free: 5.059 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.736e-05/0.3074, allocations: 30.75 kB / 1.168 GB, free: 5.02 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.767e-05/0.3074, allocations: 8.891 kB / 1.168 GB, free: 5.012 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.3076, allocations: 168.3 kB / 1.169 GB, free: 4.809 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.3076, allocations: 384 / 1.169 GB, free: 4.809 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.3076, allocations: 4.375 kB / 1.169 GB, free: 4.805 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004021/0.3081, allocations: 78.14 kB / 1.169 GB, free: 4.723 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.3081, allocations: 3.938 kB / 1.169 GB, free: 4.719 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.3081, allocations: 0 / 1.169 GB, free: 4.719 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.505e-06/0.3081, allocations: 0 / 1.169 GB, free: 4.719 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005145/0.3086, allocations: 67.92 kB / 1.169 GB, free: 4.652 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004684/0.3091, allocations: 280.7 kB / 1.169 GB, free: 4.328 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003379/0.3095, allocations: 54.55 kB / 1.169 GB, free: 4.266 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002839/0.3098, allocations: 36.91 kB / 1.169 GB, free: 4.227 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.162e-05/0.3098, allocations: 8 kB / 1.169 GB, free: 4.219 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/0.3099, allocations: 30.56 kB / 1.169 GB, free: 4.18 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.863e-06/0.3099, allocations: 0 / 1.169 GB, free: 4.18 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0009333/0.3108, allocations: 129.5 kB / 1.169 GB, free: 4.047 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.3109, allocations: 55.41 kB / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.3111, allocations: 113.8 kB / 1.169 GB, free: 3.859 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.3111, allocations: 29.64 kB / 1.169 GB, free: 3.824 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.44e-05/0.3112, allocations: 80.14 kB / 1.169 GB, free: 3.742 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.634e-05/0.3112, allocations: 15.91 kB / 1.169 GB, free: 3.727 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.474e-05/0.3113, allocations: 9.719 kB / 1.169 GB, free: 3.711 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.3115, allocations: 322.8 kB / 1.17 GB, free: 3.387 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002671/0.3118, allocations: 31.97 kB / 1.17 GB, free: 3.355 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002476/0.312, allocations: 31.95 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003734/0.3124, allocations: 68.73 kB / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.3125, allocations: 0 / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003817/0.3128, allocations: 105.9 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.3129, allocations: 5.875 kB / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.3129, allocations: 4 kB / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.3129, allocations: 0 / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.313, allocations: 11.98 kB / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.3131, allocations: 0 / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.45e-05/0.3131, allocations: 15.98 kB / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.3132, allocations: 3.984 kB / 1.17 GB, free: 3.105 MB / 0.92 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.094e-05/0.3132, allocations: 121.8 kB / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.857e-05/0.3133, allocations: 3.953 kB / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.922e-05/0.3133, allocations: 7.906 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3133, allocations: 0 / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.3133, allocations: 4 kB / 1.17 GB, free: 2.953 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.3133, allocations: 3.938 kB / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.3135, allocations: 169.6 kB / 1.17 GB, free: 2.734 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3135, allocations: 4 kB / 1.17 GB, free: 2.73 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.955e-05/0.3136, allocations: 19.97 kB / 1.17 GB, free: 2.711 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3136, allocations: 0 / 1.17 GB, free: 2.711 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.3136, allocations: 0 / 1.17 GB, free: 2.711 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.3137, allocations: 3.938 kB / 1.17 GB, free: 2.707 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3137, allocations: 0 / 1.17 GB, free: 2.707 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003523/0.314, allocations: 195.4 kB / 1.171 GB, free: 2.5 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.72e-05/0.3141, allocations: 89.05 kB / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.3141, allocations: 0 / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.3142, allocations: 11.98 kB / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.026e-05/0.3142, allocations: 4 kB / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.3142, allocations: 3.984 kB / 1.171 GB, free: 2.375 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.63e-05/0.3143, allocations: 83.28 kB / 1.171 GB, free: 2.293 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3143, allocations: 4 kB / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002244/0.3145, allocations: 15.94 kB / 1.171 GB, free: 2.273 MB / 0.92 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.0005947/0.3151, allocations: 0.7357 MB / 1.171 GB, free: 1.512 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003418/0.3155, allocations: 71.86 kB / 1.172 GB, free: 1.441 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3155, allocations: 0 / 1.172 GB, free: 1.441 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001583/0.3157, allocations: 35.95 kB / 1.172 GB, free: 1.406 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.316, allocations: 11.94 kB / 1.172 GB, free: 1.395 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004916/0.3165, allocations: 152.8 kB / 1.172 GB, free: 1.207 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.3168, allocations: 0.6807 MB / 1.172 GB, free: 0.5 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.043e-05/0.3168, allocations: 0 / 1.172 GB, free: 0.5 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.133e-05/0.3169, allocations: 15.44 kB / 1.172 GB, free: 496 kB / 0.92 GB Notification: Performance of SimCode: time 3.31e-07/0.3169, allocations: 0 / 1.172 GB, free: 496 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01704/0.334, allocations: 1.68 MB / 1.174 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.458/7.792, allocations: 16.66 kB / 1.174 GB, free: 14.88 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches