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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001909/0.001909, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002487/0.002487, allocations: 217 kB / 22.25 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.512/1.512, allocations: 230.6 MB / 256 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.786/2.786, allocations: 476.7 MB / 0.7707 GB, free: 4.273 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002161/0.002161, allocations: 70.91 kB / 1.117 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3235, allocations: 170 MB / 1.283 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002207/0.3257, allocations: 0.7043 MB / 1.284 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.3269, allocations: 0.9017 MB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.963e-05/0.3269, allocations: 0 / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.219e-05/0.327, allocations: 3.938 kB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.159e-05/0.327, allocations: 11.94 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001763/0.3272, allocations: 15.92 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.784e-05/0.3273, allocations: 47.89 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.3274, allocations: 12 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.302e-05/0.3275, allocations: 19.86 kB / 1.285 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.232e-05/0.3276, allocations: 23.92 kB / 1.285 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.3276, allocations: 4 kB / 1.285 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.097e-05/0.3276, allocations: 7.938 kB / 1.285 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.042e-05/0.3276, allocations: 7.984 kB / 1.285 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.089e-05/0.3276, allocations: 15.88 kB / 1.285 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.854e-05/0.3277, allocations: 43.38 kB / 1.285 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.3277, allocations: 3.984 kB / 1.285 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3277, allocations: 0 / 1.285 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.3278, allocations: 0 / 1.285 GB, free: 9.895 MB / 0.9825 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.0005331/0.3283, allocations: 286.3 kB / 1.285 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.3283, allocations: 8.031 kB / 1.285 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.541e-05/0.3284, allocations: 38.75 kB / 1.286 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.61e-05/0.3284, allocations: 4.891 kB / 1.286 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.3285, allocations: 118.4 kB / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.3285, allocations: 4.359 kB / 1.286 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.3285, allocations: 4.375 kB / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002576/0.3288, allocations: 74.16 kB / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.3288, allocations: 3.938 kB / 1.286 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.3288, allocations: 0 / 1.286 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3288, allocations: 0 / 1.286 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002818/0.3291, allocations: 67.86 kB / 1.286 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004303/0.3295, allocations: 244 kB / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.3297, allocations: 46.55 kB / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.3299, allocations: 44.84 kB / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.3299, allocations: 0 / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.33, allocations: 34.56 kB / 1.286 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.33, allocations: 0 / 1.286 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005705/0.3305, allocations: 129.5 kB / 1.286 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.047e-05/0.3306, allocations: 59.39 kB / 1.286 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.3307, allocations: 109.8 kB / 1.286 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.3308, allocations: 25.7 kB / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.81e-05/0.3308, allocations: 88.14 kB / 1.287 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.3309, allocations: 3.953 kB / 1.287 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.64e-05/0.3309, allocations: 17.72 kB / 1.287 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.3311, allocations: 314.8 kB / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.3312, allocations: 35.91 kB / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.3314, allocations: 36.14 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002695/0.3316, allocations: 68.81 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3316, allocations: 0 / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003294/0.332, allocations: 105.6 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.332, allocations: 8 kB / 1.287 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.332, allocations: 3.938 kB / 1.287 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.332, allocations: 0 / 1.287 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.3322, allocations: 15.98 kB / 1.287 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.3322, allocations: 3.938 kB / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.174e-05/0.3323, allocations: 11.92 kB / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.3323, allocations: 8 kB / 1.287 GB, free: 7.715 MB / 0.9825 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.0001338/0.3324, allocations: 117.8 kB / 1.287 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.874e-05/0.3324, allocations: 4 kB / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.88e-05/0.3325, allocations: 8 kB / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.3325, allocations: 0 / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3325, allocations: 0 / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.3325, allocations: 0 / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/0.3327, allocations: 144.6 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3327, allocations: 0 / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.3328, allocations: 31.97 kB / 1.287 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3328, allocations: 3.938 kB / 1.287 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.3329, allocations: 0 / 1.287 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3329, allocations: 0 / 1.287 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3329, allocations: 4.312 kB / 1.287 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004172/0.3333, allocations: 195.4 kB / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.42e-05/0.3333, allocations: 3.984 kB / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.3333, allocations: 0 / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.3334, allocations: 15.98 kB / 1.288 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.942e-05/0.3335, allocations: 4 kB / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.3335, allocations: 0 / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.05e-05/0.3335, allocations: 91.25 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3335, allocations: 4 kB / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002286/0.3338, allocations: 11.95 kB / 1.288 GB, free: 7.016 MB / 0.9825 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.0008692/0.3346, allocations: 0.7227 MB / 1.288 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003334/0.335, allocations: 79.86 kB / 1.289 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.335, allocations: 0 / 1.289 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.3351, allocations: 35.95 kB / 1.289 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.3354, allocations: 8 kB / 1.289 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004506/0.3359, allocations: 151.2 kB / 1.289 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.3362, allocations: 0.6807 MB / 1.289 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.521e-05/0.3362, allocations: 0 / 1.289 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.42e-05/0.3363, allocations: 19.7 kB / 1.289 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of SimCode: time 4.91e-07/0.3363, allocations: 0 / 1.289 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02642/0.3627, allocations: 1.795 MB / 1.291 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.25, allocations: 6.812 kB / 1.291 GB, free: 3.574 MB / 0.9825 GB " [Timeout remaining time 288] (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) [Timeout 420.0] 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) [Timeout 300] "Error: Could not read variable mod1.u1 in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.csv. Warning: Get data of variable mod1.u1 from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.csv failed! Error: Could not read variable mod1.u2 in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.csv. Warning: Get data of variable mod1.u2 from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.05978646999938]