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.0009869/0.0009869, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008287/0.0008287, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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 0.9108/0.9108, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.632/1.632, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 0.9506 GB, free: 3.426 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.556e-05/1.735e-05, allocations: 10.16 kB / 0.9506 GB, free: 3.414 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001212/0.001229, allocations: 0.6951 MB / 0.9512 GB, free: 2.711 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0008045/0.002034, allocations: 0.8899 MB / 0.9521 GB, free: 1.809 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.201e-05/0.002066, allocations: 0 / 0.9521 GB, free: 1.809 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.818e-05/0.002094, allocations: 3.938 kB / 0.9521 GB, free: 1.805 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.182e-05/0.002156, allocations: 7.938 kB / 0.9521 GB, free: 1.797 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001562/0.002312, allocations: 27.91 kB / 0.9522 GB, free: 1.77 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.282e-05/0.002385, allocations: 43.84 kB / 0.9522 GB, free: 1.727 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.347e-05/0.002478, allocations: 8 kB / 0.9522 GB, free: 1.719 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.2e-05/0.00255, allocations: 23.92 kB / 0.9522 GB, free: 1.695 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.265e-05/0.002593, allocations: 19.91 kB / 0.9522 GB, free: 1.676 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.111e-05/0.002614, allocations: 4 kB / 0.9523 GB, free: 1.672 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 8.236e-06/0.002622, allocations: 4 kB / 0.9523 GB, free: 1.668 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.65e-05/0.002639, allocations: 11.92 kB / 0.9523 GB, free: 1.656 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.954e-05/0.002658, allocations: 11.98 kB / 0.9523 GB, free: 1.645 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 7.731e-05/0.002735, allocations: 39.88 kB / 0.9523 GB, free: 1.605 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.002737, allocations: 4 kB / 0.9523 GB, free: 1.602 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.01e-07/0.002738, allocations: 0 / 0.9523 GB, free: 1.602 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.002741, allocations: 4 kB / 0.9523 GB, free: 1.598 MB / 0.9011 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.0003372/0.003079, allocations: 294.1 kB / 0.9526 GB, free: 1.277 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.003113, allocations: 8.031 kB / 0.9526 GB, free: 1.27 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.614e-05/0.003139, allocations: 30.75 kB / 0.9526 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.971e-05/0.003159, allocations: 8.891 kB / 0.9526 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.965e-05/0.003228, allocations: 105.8 kB / 0.9528 GB, free: 1.094 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.158e-06/0.003238, allocations: 384 / 0.9528 GB, free: 1.094 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.003247, allocations: 8.375 kB / 0.9528 GB, free: 1.086 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.003404, allocations: 66.22 kB / 0.9528 GB, free: 1.016 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-06/0.003411, allocations: 12.05 kB / 0.9528 GB, free: 1.004 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.003419, allocations: 8.359 kB / 0.9528 GB, free: 0.9961 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.003425, allocations: 4.125 kB / 0.9528 GB, free: 0.9922 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.003573, allocations: 59.94 kB / 0.9529 GB, free: 0.9336 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002753/0.003848, allocations: 240 kB / 0.9531 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.003959, allocations: 46.55 kB / 0.9532 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.432e-05/0.004033, allocations: 40.84 kB / 0.9532 GB, free: 0.5586 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.004054, allocations: 7.938 kB / 0.9532 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.004072, allocations: 34.56 kB / 0.9533 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.004073, allocations: 0 / 0.9533 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0002891/0.004362, allocations: 129.6 kB / 0.9534 GB, free: 384 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.004389, allocations: 51.41 kB / 0.9534 GB, free: 320 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.565e-05/0.004445, allocations: 113.8 kB / 0.9535 GB, free: 196 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.004455, allocations: 25.7 kB / 0.9536 GB, free: 164 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.379e-05/0.004489, allocations: 88.14 kB / 0.9536 GB, free: 72 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.004509, allocations: 11.84 kB / 0.9537 GB, free: 60 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-05/0.004534, allocations: 21.72 kB / 0.9537 GB, free: 32 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.014e-05/0.004614, allocations: 314.8 kB / 0.954 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.922e-05/0.004683, allocations: 31.91 kB / 0.954 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.469e-05/0.004748, allocations: 35.95 kB / 0.954 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.004877, allocations: 72.78 kB / 0.9541 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.004879, allocations: 0 / 0.9541 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001547/0.005034, allocations: 101.5 kB / 0.9542 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.005044, allocations: 4 kB / 0.9542 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.005049, allocations: 0 / 0.9542 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/0.005059, allocations: 0 / 0.9542 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.509e-05/0.005134, allocations: 23.98 kB / 0.9542 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.005139, allocations: 0 / 0.9542 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.457e-05/0.005174, allocations: 19.91 kB / 0.9543 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.00518, allocations: 4 kB / 0.9543 GB, free: 15.42 MB / 0.9167 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 4.803e-05/0.005228, allocations: 105.8 kB / 0.9544 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.305e-05/0.005241, allocations: 11.89 kB / 0.9544 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.347e-05/0.005265, allocations: 8 kB / 0.9544 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.005266, allocations: 0 / 0.9544 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.005271, allocations: 4 kB / 0.9544 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.005273, allocations: 0 / 0.9544 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.389e-05/0.005367, allocations: 132.8 kB / 0.9545 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.005368, allocations: 0 / 0.9545 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.973e-05/0.005407, allocations: 19.91 kB / 0.9545 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.005409, allocations: 4 kB / 0.9545 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.62e-06/0.005415, allocations: 0 / 0.9545 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.01e-07/0.005415, allocations: 0 / 0.9545 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.005416, allocations: 3.938 kB / 0.9545 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/0.00561, allocations: 203.7 kB / 0.9547 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.664e-06/0.005618, allocations: 11.92 kB / 0.9547 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.107e-06/0.005627, allocations: 0 / 0.9547 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.956e-05/0.005676, allocations: 11.98 kB / 0.9548 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-05/0.005713, allocations: 7.984 kB / 0.9548 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.005715, allocations: 0 / 0.9548 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.677e-05/0.005742, allocations: 87.58 kB / 0.9548 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.005742, allocations: 0 / 0.9548 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001446/0.005886, allocations: 12 kB / 0.9549 GB, free: 14.73 MB / 0.9167 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.0003351/0.006222, allocations: 0.7241 MB / 0.9556 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001776/0.006399, allocations: 71.86 kB / 0.9556 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.006401, allocations: 0 / 0.9556 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.111e-05/0.006472, allocations: 43.95 kB / 0.9557 GB, free: 13.87 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001935/0.006665, allocations: 4 kB / 0.9557 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003196/0.006985, allocations: 155 kB / 0.9558 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.15e-05/0.007026, allocations: 67.28 kB / 0.9559 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.966e-05/0.007046, allocations: 0 / 0.9559 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.66e-05/0.007083, allocations: 20.5 kB / 0.9559 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of SimCode: time 3.71e-07/0.007083, allocations: 0 / 0.9559 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0139/0.02098, allocations: 2.381 MB / 0.9582 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.737/6.758, allocations: 10.67 kB / 0.9582 GB, free: 11.32 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 10.881560737267137]