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.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.0009596/0.0009596, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009776/0.0009776, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.891/0.891, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.792/1.792, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.474e-06/2.474e-06, allocations: 0 / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.062e-05/2.309e-05, allocations: 4.953 kB / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001356/0.001379, allocations: 0.6912 MB / 1 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008002/0.002179, allocations: 0.8861 MB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.65e-05/0.002216, allocations: 4 kB / 1.001 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.663e-05/0.002242, allocations: 3.938 kB / 1.001 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.098e-05/0.002303, allocations: 7.875 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001664/0.00247, allocations: 19.92 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.642e-05/0.002546, allocations: 47.83 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.223e-05/0.002638, allocations: 11.94 kB / 1.001 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.019e-05/0.002708, allocations: 19.98 kB / 1.001 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.087e-05/0.002749, allocations: 19.91 kB / 1.001 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.002772, allocations: 8 kB / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.185e-06/0.00278, allocations: 4 kB / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.718e-05/0.002797, allocations: 8 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.169e-05/0.002819, allocations: 11.92 kB / 1.001 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 8.993e-05/0.002909, allocations: 47.86 kB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.002911, allocations: 0 / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.92e-07/0.002911, allocations: 0 / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.002915, allocations: 0 / 1.001 GB, free: 11.64 MB / 0.9636 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.0003534/0.003269, allocations: 290.2 kB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.003313, allocations: 12.75 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.692e-05/0.00334, allocations: 30.75 kB / 1.002 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.131e-05/0.003361, allocations: 8.891 kB / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.402e-05/0.003435, allocations: 109.8 kB / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.003445, allocations: 4.375 kB / 1.002 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-06/0.003454, allocations: 4.375 kB / 1.002 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.003608, allocations: 70.14 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.003614, allocations: 192 / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.003623, allocations: 4.375 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.003629, allocations: 8.125 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001432/0.003772, allocations: 63.88 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000318/0.00409, allocations: 228.1 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.004204, allocations: 50.53 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.552e-05/0.00428, allocations: 44.92 kB / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.004298, allocations: 3.938 kB / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.004316, allocations: 34.5 kB / 1.002 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.004317, allocations: 0 / 1.002 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0002916/0.004609, allocations: 129.7 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/0.004637, allocations: 59.41 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.76e-05/0.004694, allocations: 113.8 kB / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.004703, allocations: 25.7 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.71e-05/0.00474, allocations: 88.92 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.638e-05/0.004756, allocations: 11.88 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-05/0.004784, allocations: 21.7 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.689e-05/0.004861, allocations: 310.8 kB / 1.003 GB, free: 9.766 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.191e-05/0.004933, allocations: 35.97 kB / 1.003 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.652e-05/0.004999, allocations: 39.94 kB / 1.003 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.005133, allocations: 72.72 kB / 1.003 GB, free: 9.617 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.005135, allocations: 0 / 1.003 GB, free: 9.617 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001584/0.005293, allocations: 105.5 kB / 1.003 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.005305, allocations: 7.938 kB / 1.003 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.00531, allocations: 0 / 1.003 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.00532, allocations: 0 / 1.003 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.461e-05/0.005395, allocations: 15.98 kB / 1.003 GB, free: 9.484 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.0054, allocations: 0 / 1.003 GB, free: 9.484 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.67e-05/0.005436, allocations: 19.97 kB / 1.003 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.005442, allocations: 0 / 1.003 GB, free: 9.465 MB / 0.9636 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 5.109e-05/0.005493, allocations: 109.8 kB / 1.004 GB, free: 9.348 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.246e-05/0.005506, allocations: 11.88 kB / 1.004 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.344e-05/0.005529, allocations: 8 kB / 1.004 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.00553, allocations: 4 kB / 1.004 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.005534, allocations: 0 / 1.004 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.005537, allocations: 3.938 kB / 1.004 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001/0.005637, allocations: 128.8 kB / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.005638, allocations: 3.984 kB / 1.004 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.973e-05/0.005678, allocations: 19.92 kB / 1.004 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.005679, allocations: 0 / 1.004 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-06/0.005686, allocations: 8 kB / 1.004 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.005687, allocations: 0 / 1.004 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.005688, allocations: 0 / 1.004 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/0.005876, allocations: 195.4 kB / 1.004 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.581e-06/0.005882, allocations: 3.938 kB / 1.004 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.598e-06/0.005892, allocations: 0 / 1.004 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.93e-05/0.005941, allocations: 11.98 kB / 1.004 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/0.005977, allocations: 11.98 kB / 1.004 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.005981, allocations: 7.938 kB / 1.004 GB, free: 8.871 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.732e-05/0.006009, allocations: 83.28 kB / 1.004 GB, free: 8.789 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006009, allocations: 0 / 1.004 GB, free: 8.789 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001469/0.006156, allocations: 11.95 kB / 1.004 GB, free: 8.777 MB / 0.9636 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.0003471/0.006503, allocations: 0.7202 MB / 1.005 GB, free: 8.031 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001762/0.006679, allocations: 75.86 kB / 1.005 GB, free: 7.957 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.00668, allocations: 0 / 1.005 GB, free: 7.957 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.559e-05/0.006756, allocations: 36.28 kB / 1.005 GB, free: 7.922 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.006964, allocations: 6.234 kB / 1.005 GB, free: 7.918 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003165/0.007281, allocations: 162.4 kB / 1.005 GB, free: 7.719 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.09e-05/0.007322, allocations: 67.28 kB / 1.005 GB, free: 7.633 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.856e-05/0.00734, allocations: 96 / 1.005 GB, free: 7.633 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.575e-05/0.007376, allocations: 20.48 kB / 1.005 GB, free: 7.613 MB / 0.9636 GB Notification: Performance of SimCode: time 3.01e-07/0.007376, allocations: 3.938 kB / 1.005 GB, free: 7.609 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01414/0.02152, allocations: 2.381 MB / 1.007 GB, free: 5.363 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.83/6.852, allocations: 6.125 kB / 1.007 GB, free: 5.359 MB / 0.9636 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.csv. Warning: Get data of variable mod1.u1 from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.csv failed! Error: Could not read variable mod1.u2 in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.csv. Warning: Get data of variable mod1.u2 from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.050971304997802]