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.001308/0.001308, allocations: 110 kB / 16.46 MB, free: 6.453 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.001534/0.001534, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.451/1.451, allocations: 230.6 MB / 252.8 MB, free: 9.004 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.318/3.318, allocations: 0.505 GB / 0.8066 GB, free: 23.06 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.001972/0.001972, allocations: 73.53 kB / 1.172 GB, free: 17.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3876/0.3896, allocations: 180.2 MB / 1.348 GB, free: 9.922 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002318/0.3919, allocations: 0.7199 MB / 1.349 GB, free: 9.207 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001292/0.3932, allocations: 0.9021 MB / 1.349 GB, free: 8.293 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.67e-05/0.3933, allocations: 4 kB / 1.349 GB, free: 8.289 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.653e-05/0.3933, allocations: 3.938 kB / 1.349 GB, free: 8.285 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.071e-05/0.3934, allocations: 3.938 kB / 1.349 GB, free: 8.281 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001961/0.3936, allocations: 15.98 kB / 1.349 GB, free: 8.266 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.3937, allocations: 47.78 kB / 1.349 GB, free: 8.219 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.3938, allocations: 8 kB / 1.349 GB, free: 8.211 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.192e-05/0.3939, allocations: 23.91 kB / 1.35 GB, free: 8.188 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.726e-05/0.3939, allocations: 23.91 kB / 1.35 GB, free: 8.164 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.394, allocations: 4 kB / 1.35 GB, free: 8.16 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.215e-05/0.394, allocations: 8 kB / 1.35 GB, free: 8.152 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.841e-05/0.394, allocations: 4 kB / 1.35 GB, free: 8.148 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.183e-05/0.394, allocations: 19.86 kB / 1.35 GB, free: 8.129 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.3942, allocations: 44.09 kB / 1.35 GB, free: 8.086 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.3942, allocations: 0 / 1.35 GB, free: 8.086 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.685e-06/0.3942, allocations: 0 / 1.35 GB, free: 8.086 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.3942, allocations: 0 / 1.35 GB, free: 8.086 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.0006358/0.3948, allocations: 359.3 kB / 1.35 GB, free: 7.684 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.3948, allocations: 15.98 kB / 1.35 GB, free: 7.668 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.718e-05/0.3949, allocations: 34.75 kB / 1.35 GB, free: 7.625 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.759e-05/0.3949, allocations: 0.9375 kB / 1.35 GB, free: 7.625 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.3951, allocations: 184.2 kB / 1.35 GB, free: 7.406 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.3951, allocations: 4.375 kB / 1.35 GB, free: 7.402 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.3952, allocations: 4.375 kB / 1.35 GB, free: 7.398 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002747/0.3954, allocations: 66.22 kB / 1.35 GB, free: 7.328 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.3954, allocations: 3.938 kB / 1.35 GB, free: 7.324 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.3954, allocations: 4 kB / 1.35 GB, free: 7.32 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.3955, allocations: 0 / 1.35 GB, free: 7.32 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003227/0.3958, allocations: 63.92 kB / 1.35 GB, free: 7.258 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004264/0.3962, allocations: 276.8 kB / 1.351 GB, free: 6.938 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.3964, allocations: 58.47 kB / 1.351 GB, free: 6.871 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/0.3966, allocations: 32.92 kB / 1.351 GB, free: 6.836 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.3966, allocations: 4 kB / 1.351 GB, free: 6.832 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.3966, allocations: 30.56 kB / 1.351 GB, free: 6.793 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.3966, allocations: 0 / 1.351 GB, free: 6.793 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0005684/0.3972, allocations: 133.5 kB / 1.351 GB, free: 6.656 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.306e-05/0.3973, allocations: 55.41 kB / 1.351 GB, free: 6.59 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.3974, allocations: 109.8 kB / 1.351 GB, free: 6.473 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.3974, allocations: 25.7 kB / 1.351 GB, free: 6.441 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.089e-05/0.3974, allocations: 88.08 kB / 1.351 GB, free: 6.352 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.3975, allocations: 19.89 kB / 1.351 GB, free: 6.332 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.458e-05/0.3975, allocations: 9.719 kB / 1.351 GB, free: 6.316 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.3977, allocations: 318.8 kB / 1.351 GB, free: 5.996 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.3978, allocations: 31.95 kB / 1.351 GB, free: 5.965 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.398, allocations: 27.97 kB / 1.351 GB, free: 5.938 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002956/0.3983, allocations: 76.72 kB / 1.352 GB, free: 5.859 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3983, allocations: 0 / 1.352 GB, free: 5.859 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003512/0.3986, allocations: 97.56 kB / 1.352 GB, free: 5.758 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.3986, allocations: 4 kB / 1.352 GB, free: 5.754 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.3986, allocations: 8 kB / 1.352 GB, free: 5.746 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.3986, allocations: 0 / 1.352 GB, free: 5.746 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.3988, allocations: 20.3 kB / 1.352 GB, free: 5.727 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.3988, allocations: 0 / 1.352 GB, free: 5.727 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.216e-05/0.3989, allocations: 11.98 kB / 1.352 GB, free: 5.715 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.3989, allocations: 0 / 1.352 GB, free: 5.715 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 0.0001102/0.399, allocations: 117.8 kB / 1.352 GB, free: 5.59 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.399, allocations: 3.953 kB / 1.352 GB, free: 5.586 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.485e-05/0.3991, allocations: 15.89 kB / 1.352 GB, free: 5.559 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.3991, allocations: 0 / 1.352 GB, free: 5.559 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.3991, allocations: 0 / 1.352 GB, free: 5.559 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.3991, allocations: 0 / 1.352 GB, free: 5.559 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002762/0.3993, allocations: 177.5 kB / 1.352 GB, free: 5.336 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3993, allocations: 0 / 1.352 GB, free: 5.336 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.3994, allocations: 15.98 kB / 1.352 GB, free: 5.32 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.3994, allocations: 0 / 1.352 GB, free: 5.32 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.3995, allocations: 0 / 1.352 GB, free: 5.32 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.3995, allocations: 3.938 kB / 1.352 GB, free: 5.316 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3995, allocations: 4 kB / 1.352 GB, free: 5.312 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004295/0.3999, allocations: 195.4 kB / 1.352 GB, free: 5.105 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.613e-05/0.3999, allocations: 85.06 kB / 1.352 GB, free: 5.004 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.4, allocations: 0 / 1.352 GB, free: 5.004 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.4001, allocations: 15.98 kB / 1.352 GB, free: 4.988 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.4001, allocations: 11.92 kB / 1.352 GB, free: 4.977 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.4001, allocations: 0 / 1.352 GB, free: 4.977 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001319/0.4003, allocations: 91.58 kB / 1.352 GB, free: 4.887 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4003, allocations: 3.938 kB / 1.352 GB, free: 4.883 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000215/0.4005, allocations: 8 kB / 1.352 GB, free: 4.875 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.0008727/0.4013, allocations: 0.728 MB / 1.353 GB, free: 4.121 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003581/0.4017, allocations: 67.91 kB / 1.353 GB, free: 4.055 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4017, allocations: 4 kB / 1.353 GB, free: 4.051 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.4019, allocations: 31.97 kB / 1.353 GB, free: 4.02 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.4021, allocations: 7.938 kB / 1.353 GB, free: 4.012 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005876/0.4027, allocations: 163.1 kB / 1.353 GB, free: 3.812 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.4031, allocations: 0.6768 MB / 1.354 GB, free: 3.109 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.867e-05/0.4031, allocations: 8 kB / 1.354 GB, free: 3.102 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.448e-05/0.4032, allocations: 19.42 kB / 1.354 GB, free: 3.082 MB / 1.045 GB Notification: Performance of SimCode: time 2.6e-07/0.4032, allocations: 0 / 1.354 GB, free: 3.082 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02481/0.428, allocations: 1.689 MB / 1.356 GB, free: 1.492 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.238/8.666, allocations: 9.109 kB / 1.356 GB, free: 1.484 MB / 1.045 GB " [Timeout remaining time 291] (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: 15.585507102077827]