Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 108.3 kB / 17.54 MB, free: 4.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 190.6 kB / 20.71 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 225.6 MB / 249.3 MB, free: 3.336 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.516/2.516, allocations: 476.7 MB / 0.7628 GB, free: 15.18 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 71.89 kB / 1.107 GB, free: 5.141 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8309/0.8329, allocations: 168.7 MB / 1.271 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001722/0.8346, allocations: 0.7813 MB / 1.272 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007912/0.8354, allocations: 0.867 MB / 1.273 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.387e-05/0.8355, allocations: 1.562 kB / 1.273 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.43e-05/0.8355, allocations: 9.891 kB / 1.273 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.738e-05/0.8356, allocations: 10.33 kB / 1.273 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001494/0.8357, allocations: 41.78 kB / 1.273 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.8358, allocations: 82.36 kB / 1.273 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.836, allocations: 23.72 kB / 1.273 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.598e-05/0.836, allocations: 46.89 kB / 1.273 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.629e-05/0.8361, allocations: 49.8 kB / 1.273 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.609e-05/0.8362, allocations: 7.562 kB / 1.273 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.625e-05/0.8362, allocations: 8.5 kB / 1.273 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.894e-05/0.8362, allocations: 19.05 kB / 1.273 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.634e-05/0.8362, allocations: 31.16 kB / 1.273 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.8364, allocations: 93.17 kB / 1.273 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.8364, allocations: 0.6875 kB / 1.273 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8364, allocations: 0 / 1.273 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.8364, allocations: 0.5 kB / 1.273 GB, free: 6.359 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005177/0.8369, allocations: 390.2 kB / 1.274 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.837, allocations: 9.438 kB / 1.274 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.152e-05/0.837, allocations: 42.97 kB / 1.274 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.885e-05/0.837, allocations: 8.203 kB / 1.274 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.896e-05/0.8371, allocations: 193.6 kB / 1.274 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.8371, allocations: 6.406 kB / 1.274 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.8371, allocations: 8.312 kB / 1.274 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002834/0.8374, allocations: 107.8 kB / 1.274 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.8374, allocations: 0 / 1.274 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.8374, allocations: 0.7812 kB / 1.274 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.8374, allocations: 2.156 kB / 1.274 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003552/0.8378, allocations: 97.86 kB / 1.274 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004172/0.8382, allocations: 343.5 kB / 1.275 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005792/0.8388, allocations: 117.7 kB / 1.275 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000185/0.839, allocations: 55.84 kB / 1.275 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.839, allocations: 8.859 kB / 1.275 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.192e-05/0.839, allocations: 36.31 kB / 1.275 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.839, allocations: 0 / 1.275 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0006148/0.8396, allocations: 178.6 kB / 1.275 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/0.8396, allocations: 56.34 kB / 1.275 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.837e-05/0.8397, allocations: 131.2 kB / 1.275 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.8397, allocations: 26.45 kB / 1.275 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.76e-05/0.8398, allocations: 94.09 kB / 1.275 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.108e-05/0.8398, allocations: 20.64 kB / 1.275 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-05/0.8398, allocations: 23.52 kB / 1.275 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.866e-05/0.8399, allocations: 317.9 kB / 1.276 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001915/0.84, allocations: 48.77 kB / 1.276 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001652/0.8402, allocations: 48.22 kB / 1.276 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003272/0.8405, allocations: 101 kB / 1.276 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.8405, allocations: 0 / 1.276 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003853/0.8409, allocations: 137.4 kB / 1.276 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.8409, allocations: 6.188 kB / 1.276 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.8409, allocations: 0 / 1.276 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.841, allocations: 5.297 kB / 1.276 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.8411, allocations: 23.52 kB / 1.276 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.8411, allocations: 4.656 kB / 1.276 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.8412, allocations: 21.05 kB / 1.276 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.8412, allocations: 2.094 kB / 1.276 GB, free: 4.352 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.724e-05/0.8413, allocations: 115.2 kB / 1.276 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.036e-05/0.8413, allocations: 6.984 kB / 1.276 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.47e-05/0.8414, allocations: 11.52 kB / 1.276 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.8414, allocations: 0.7812 kB / 1.276 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.8414, allocations: 4.719 kB / 1.276 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.8414, allocations: 0 / 1.276 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.8415, allocations: 199.6 kB / 1.276 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.8415, allocations: 7.938 kB / 1.276 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001511/0.8417, allocations: 23.78 kB / 1.276 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.8417, allocations: 4.688 kB / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.8417, allocations: 2.172 kB / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.8417, allocations: 5.062 kB / 1.276 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.8417, allocations: 3.938 kB / 1.276 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003991/0.8421, allocations: 236.9 kB / 1.277 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.8421, allocations: 83.22 kB / 1.277 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.8421, allocations: 4.812 kB / 1.277 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.8423, allocations: 12.84 kB / 1.277 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.921e-05/0.8423, allocations: 24.55 kB / 1.277 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.8423, allocations: 6.578 kB / 1.277 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.802e-05/0.8424, allocations: 95.69 kB / 1.277 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.8424, allocations: 4 kB / 1.277 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002189/0.8426, allocations: 15.94 kB / 1.277 GB, free: 3.621 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (add1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0005742/0.8432, allocations: 0.7758 MB / 1.278 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003953/0.8436, allocations: 103.3 kB / 1.278 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.8436, allocations: 0 / 1.278 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002089/0.8438, allocations: 63.73 kB / 1.278 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.8441, allocations: 18.31 kB / 1.278 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00177/0.8458, allocations: 1.535 MB / 1.279 GB, free: 17.6 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.8461, allocations: 0.696 MB / 1.28 GB, free: 16.9 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.766e-05/0.8462, allocations: 10.72 kB / 1.28 GB, free: 16.89 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.531e-05/0.8462, allocations: 30.7 kB / 1.28 GB, free: 16.88 MB / 1.014 GB Notification: Performance of SimCode: time 3.81e-07/0.8462, allocations: 0 / 1.28 GB, free: 16.88 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02484/0.8711, allocations: 2.706 MB / 1.283 GB, free: 16.45 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.876/7.747, allocations: 4.844 kB / 1.283 GB, free: 16.45 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add_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_Integers_Validation_Add.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable add1.u1 in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv. Warning: Get data of variable add1.u1 from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv failed! Error: Could not read variable add1.u2 in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv. Warning: Get data of variable add1.u2 from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv failed! Error: Could not read variable add1.y in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv. Warning: Get data of variable add1.y from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.15356555100152]