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.00189/0.00189, 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.002414/0.002414, allocations: 210.2 kB / 22.25 MB, free: 5.086 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.522/1.522, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] 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 3.324/3.324, allocations: 0.505 GB / 0.8101 GB, free: 22.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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.002075/0.002075, allocations: 69.56 kB / 1.177 GB, free: 17.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3805, allocations: 180.2 MB / 1.353 GB, free: 8.473 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.00216/0.3827, allocations: 0.7118 MB / 1.354 GB, free: 7.766 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001146/0.3838, allocations: 0.8982 MB / 1.354 GB, free: 6.855 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.945e-05/0.3839, allocations: 0 / 1.354 GB, free: 6.855 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.789e-05/0.3839, allocations: 3.938 kB / 1.354 GB, free: 6.852 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.016e-05/0.384, allocations: 11.92 kB / 1.354 GB, free: 6.84 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001614/0.3841, allocations: 19.92 kB / 1.355 GB, free: 6.82 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.594e-05/0.3842, allocations: 47.84 kB / 1.355 GB, free: 6.773 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.896e-05/0.3843, allocations: 8 kB / 1.355 GB, free: 6.766 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.739e-05/0.3844, allocations: 15.98 kB / 1.355 GB, free: 6.75 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.627e-05/0.3844, allocations: 23.86 kB / 1.355 GB, free: 6.727 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.3845, allocations: 4 kB / 1.355 GB, free: 6.723 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.116e-05/0.3845, allocations: 4 kB / 1.355 GB, free: 6.719 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.994e-05/0.3845, allocations: 11.97 kB / 1.355 GB, free: 6.707 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.493e-05/0.3845, allocations: 15.88 kB / 1.355 GB, free: 6.691 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.3846, allocations: 44.08 kB / 1.355 GB, free: 6.648 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3846, allocations: 4 kB / 1.355 GB, free: 6.645 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3846, allocations: 0 / 1.355 GB, free: 6.645 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.3846, allocations: 0 / 1.355 GB, free: 6.645 MB / 1.045 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.0005105/0.3852, allocations: 290.2 kB / 1.355 GB, free: 6.328 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.3852, allocations: 12.03 kB / 1.355 GB, free: 6.316 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.456e-05/0.3852, allocations: 30.75 kB / 1.355 GB, free: 6.277 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.651e-05/0.3853, allocations: 8.938 kB / 1.355 GB, free: 6.27 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.3854, allocations: 122.4 kB / 1.355 GB, free: 6.125 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.3854, allocations: 12.36 kB / 1.355 GB, free: 6.113 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.3854, allocations: 384 / 1.355 GB, free: 6.113 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002512/0.3857, allocations: 66.22 kB / 1.355 GB, free: 6.043 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.3857, allocations: 7.938 kB / 1.355 GB, free: 6.035 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.477e-06/0.3857, allocations: 0 / 1.355 GB, free: 6.035 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3857, allocations: 0 / 1.355 GB, free: 6.035 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002831/0.386, allocations: 71.86 kB / 1.355 GB, free: 5.965 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003772/0.3864, allocations: 239.9 kB / 1.356 GB, free: 5.688 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002285/0.3866, allocations: 50.55 kB / 1.356 GB, free: 5.629 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/0.3867, allocations: 40.91 kB / 1.356 GB, free: 5.586 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.3868, allocations: 3.984 kB / 1.356 GB, free: 5.582 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.3868, allocations: 34.56 kB / 1.356 GB, free: 5.539 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.3868, allocations: 0 / 1.356 GB, free: 5.539 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0005421/0.3873, allocations: 133.5 kB / 1.356 GB, free: 5.402 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.3874, allocations: 55.39 kB / 1.356 GB, free: 5.336 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.528e-05/0.3875, allocations: 105.8 kB / 1.356 GB, free: 5.223 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.3875, allocations: 25.7 kB / 1.356 GB, free: 5.191 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.16e-05/0.3875, allocations: 88.14 kB / 1.356 GB, free: 5.102 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.3876, allocations: 11.84 kB / 1.356 GB, free: 5.09 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-05/0.3876, allocations: 17.72 kB / 1.356 GB, free: 5.066 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.3878, allocations: 314.8 kB / 1.356 GB, free: 4.75 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.3879, allocations: 35.97 kB / 1.356 GB, free: 4.715 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.388, allocations: 31.95 kB / 1.356 GB, free: 4.684 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002595/0.3883, allocations: 72.67 kB / 1.356 GB, free: 4.609 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3883, allocations: 4 kB / 1.356 GB, free: 4.605 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003086/0.3886, allocations: 97.61 kB / 1.357 GB, free: 4.504 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.3886, allocations: 4 kB / 1.357 GB, free: 4.5 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.3886, allocations: 0 / 1.357 GB, free: 4.5 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.3886, allocations: 0 / 1.357 GB, free: 4.5 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.3888, allocations: 15.98 kB / 1.357 GB, free: 4.484 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3888, allocations: 4 kB / 1.357 GB, free: 4.48 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.729e-05/0.3888, allocations: 11.98 kB / 1.357 GB, free: 4.469 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.3888, allocations: 0 / 1.357 GB, free: 4.469 MB / 1.045 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 9.603e-05/0.3889, allocations: 129.6 kB / 1.357 GB, free: 4.332 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/0.389, allocations: 3.953 kB / 1.357 GB, free: 4.328 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.609e-05/0.389, allocations: 8 kB / 1.357 GB, free: 4.316 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.389, allocations: 4 kB / 1.357 GB, free: 4.312 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.389, allocations: 0 / 1.357 GB, free: 4.312 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.389, allocations: 8.266 kB / 1.357 GB, free: 4.305 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.3892, allocations: 140.6 kB / 1.357 GB, free: 4.125 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3892, allocations: 0 / 1.357 GB, free: 4.125 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.3893, allocations: 23.91 kB / 1.357 GB, free: 4.102 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3893, allocations: 4 kB / 1.357 GB, free: 4.098 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.3893, allocations: 7.984 kB / 1.357 GB, free: 4.09 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3893, allocations: 0 / 1.357 GB, free: 4.09 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3893, allocations: 0 / 1.357 GB, free: 4.09 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003614/0.3897, allocations: 191.4 kB / 1.357 GB, free: 3.887 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.988e-05/0.3897, allocations: 11.94 kB / 1.357 GB, free: 3.875 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.3897, allocations: 0 / 1.357 GB, free: 3.875 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.3898, allocations: 15.98 kB / 1.357 GB, free: 3.859 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.3899, allocations: 0 / 1.357 GB, free: 3.859 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-06/0.3899, allocations: 3.984 kB / 1.357 GB, free: 3.855 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.384e-05/0.3899, allocations: 91.28 kB / 1.357 GB, free: 3.766 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.3899, allocations: 0 / 1.357 GB, free: 3.766 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002386/0.3902, allocations: 11.88 kB / 1.357 GB, free: 3.754 MB / 1.045 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.0007115/0.3909, allocations: 0.7241 MB / 1.358 GB, free: 3.004 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003222/0.3912, allocations: 67.92 kB / 1.358 GB, free: 2.938 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3912, allocations: 0 / 1.358 GB, free: 2.938 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.3913, allocations: 39.89 kB / 1.358 GB, free: 2.898 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.3917, allocations: 14.11 kB / 1.358 GB, free: 2.887 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004514/0.3921, allocations: 155.2 kB / 1.358 GB, free: 2.695 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.3924, allocations: 0.6807 MB / 1.359 GB, free: 1.988 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.785e-05/0.3924, allocations: 4 kB / 1.359 GB, free: 1.984 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.424e-05/0.3925, allocations: 11.44 kB / 1.359 GB, free: 1.973 MB / 1.045 GB Notification: Performance of SimCode: time 3.01e-07/0.3925, allocations: 4 kB / 1.359 GB, free: 1.969 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02737/0.4199, allocations: 1.784 MB / 1.361 GB, free: 324 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.14, allocations: 9.094 kB / 1.361 GB, free: 316 kB / 1.045 GB " [Timeout remaining time 289] (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/jenkins1/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: 18.34874344300033]