Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.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.001304/0.001304, allocations: 114.5 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.001526/0.001526, allocations: 217 kB / 22.25 MB, free: 5.082 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.539/1.539, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.763/2.763, allocations: 476.7 MB / 0.7707 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Integers.Validation.Subtract,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",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.002072/0.002072, allocations: 66.05 kB / 1.117 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3046, allocations: 170 MB / 1.283 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002189/0.3068, allocations: 0.7829 MB / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001263/0.3081, allocations: 0.9017 MB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.336e-05/0.3081, allocations: 0 / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.924e-05/0.3082, allocations: 7.875 kB / 1.285 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.095e-05/0.3082, allocations: 3.938 kB / 1.285 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.3084, allocations: 47.88 kB / 1.285 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.3085, allocations: 87.77 kB / 1.285 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.3087, allocations: 15.98 kB / 1.285 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.811e-05/0.3087, allocations: 43.91 kB / 1.285 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.591e-05/0.3088, allocations: 43.83 kB / 1.285 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.3089, allocations: 8 kB / 1.285 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.55e-05/0.3089, allocations: 8 kB / 1.285 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.44e-05/0.3089, allocations: 27.91 kB / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.596e-05/0.309, allocations: 35.78 kB / 1.285 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.3091, allocations: 87.19 kB / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3091, allocations: 4 kB / 1.285 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3091, allocations: 0 / 1.285 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.3091, allocations: 3.938 kB / 1.285 GB, free: 9.586 MB / 0.9825 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.000661/0.3098, allocations: 322 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.3098, allocations: 8.031 kB / 1.286 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.979e-05/0.3099, allocations: 42.73 kB / 1.286 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.272e-05/0.3099, allocations: 8.891 kB / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.31, allocations: 118.4 kB / 1.286 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.3101, allocations: 4.375 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.3101, allocations: 8.125 kB / 1.286 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003087/0.3104, allocations: 109.6 kB / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.3104, allocations: 0 / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.3104, allocations: 0 / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.3104, allocations: 0 / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003685/0.3108, allocations: 103.8 kB / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005574/0.3113, allocations: 315.8 kB / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006258/0.312, allocations: 118.5 kB / 1.287 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000194/0.3122, allocations: 60.8 kB / 1.287 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.3122, allocations: 4 kB / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.3122, allocations: 34.55 kB / 1.287 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.3122, allocations: 3.938 kB / 1.287 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0006473/0.3129, allocations: 185.4 kB / 1.287 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.3129, allocations: 55.41 kB / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.313, allocations: 129.8 kB / 1.287 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.313, allocations: 25.7 kB / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.592e-05/0.3131, allocations: 92.09 kB / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/0.3131, allocations: 23.83 kB / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.108e-05/0.3132, allocations: 21.7 kB / 1.287 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.3133, allocations: 322.8 kB / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/0.3135, allocations: 47.95 kB / 1.288 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.3136, allocations: 43.95 kB / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000331/0.314, allocations: 96.77 kB / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.314, allocations: 0 / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000396/0.3144, allocations: 141.5 kB / 1.288 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.3144, allocations: 4 kB / 1.288 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3144, allocations: 0 / 1.288 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.3144, allocations: 0 / 1.288 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.3146, allocations: 23.97 kB / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.3146, allocations: 11.92 kB / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.3147, allocations: 11.98 kB / 1.288 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.3147, allocations: 4 kB / 1.288 GB, free: 6.941 MB / 0.9825 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,sub.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 9.202e-05/0.3148, allocations: 113.8 kB / 1.288 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.279e-05/0.3148, allocations: 7.953 kB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.908e-05/0.3149, allocations: 12.36 kB / 1.288 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3149, allocations: 0 / 1.288 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3149, allocations: 3.938 kB / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.3149, allocations: 0 / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002079/0.3151, allocations: 180.6 kB / 1.288 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3151, allocations: 4 kB / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000159/0.3152, allocations: 27.91 kB / 1.288 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.3152, allocations: 3.984 kB / 1.288 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.628e-05/0.3153, allocations: 4 kB / 1.288 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.3153, allocations: 0 / 1.288 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3153, allocations: 3.938 kB / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004533/0.3157, allocations: 228 kB / 1.288 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.708e-05/0.3157, allocations: 7.953 kB / 1.288 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.3158, allocations: 4 kB / 1.288 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.3159, allocations: 11.98 kB / 1.288 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.845e-05/0.316, allocations: 27.91 kB / 1.288 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.866e-06/0.316, allocations: 3.984 kB / 1.288 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.028e-05/0.3161, allocations: 99.64 kB / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3161, allocations: 7.938 kB / 1.289 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002348/0.3163, allocations: 19.94 kB / 1.289 GB, free: 6.113 MB / 0.9825 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 (sub.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.0007877/0.3171, allocations: 0.7749 MB / 1.289 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004079/0.3175, allocations: 95.91 kB / 1.289 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3175, allocations: 0 / 1.289 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002017/0.3177, allocations: 63.88 kB / 1.289 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.3181, allocations: 18.12 kB / 1.289 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002258/0.3203, allocations: 1.537 MB / 1.291 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.3206, allocations: 0.6963 MB / 1.292 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.275e-05/0.3207, allocations: 8 kB / 1.292 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.077e-05/0.3208, allocations: 31.42 kB / 1.292 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3208, allocations: 0 / 1.292 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02933/0.3501, allocations: 2.84 MB / 1.294 GB, free: 64 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.26, allocations: 4 kB / 1.294 GB, free: 60 kB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_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_Subtract.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable sub.u1 in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv. Warning: Get data of variable sub.u1 from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv failed! Error: Could not read variable sub.u2 in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv. Warning: Get data of variable sub.u2 from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv failed! Error: Could not read variable sub.y in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv. Warning: Get data of variable sub.y from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.039506475999588]