Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007698/0.0007698, 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.0008294/0.0008294, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8562/0.8562, 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 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.772/1.772, allocations: 377.8 MB / 0.6221 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 0 / 0.981 GB, free: 2.582 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.645e-05, allocations: 9.453 kB / 0.981 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001478/0.001505, allocations: 0.7601 MB / 0.9817 GB, free: 1.816 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008747/0.002379, allocations: 0.8743 MB / 0.9826 GB, free: 0.9297 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.395e-05/0.002423, allocations: 0 / 0.9826 GB, free: 0.9297 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.477e-05/0.002458, allocations: 11.92 kB / 0.9826 GB, free: 0.918 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 8.209e-05/0.00254, allocations: 19.8 kB / 0.9826 GB, free: 0.8984 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001747/0.002715, allocations: 35.89 kB / 0.9826 GB, free: 0.8633 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.002818, allocations: 87.75 kB / 0.9827 GB, free: 0.7773 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.002933, allocations: 19.98 kB / 0.9827 GB, free: 0.7578 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 9.791e-05/0.003031, allocations: 55.89 kB / 0.9828 GB, free: 0.7031 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 6.495e-05/0.003096, allocations: 35.95 kB / 0.9828 GB, free: 0.668 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.788e-05/0.003124, allocations: 8 kB / 0.9828 GB, free: 0.6602 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 1.136e-05/0.003135, allocations: 8 kB / 0.9828 GB, free: 0.6523 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.174e-05/0.003157, allocations: 19.91 kB / 0.9829 GB, free: 0.6328 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 3.024e-05/0.003187, allocations: 27.91 kB / 0.9829 GB, free: 0.6055 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001184/0.003306, allocations: 95.64 kB / 0.983 GB, free: 0.5117 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.003308, allocations: 0 / 0.983 GB, free: 0.5117 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.173e-06/0.003309, allocations: 4 kB / 0.983 GB, free: 0.5078 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.003313, allocations: 0 / 0.983 GB, free: 0.5078 MB / 0.9323 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.0007317/0.004045, allocations: 326 kB / 0.9833 GB, free: 164 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.004086, allocations: 8.031 kB / 0.9833 GB, free: 156 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.325e-05/0.004119, allocations: 38.75 kB / 0.9833 GB, free: 108 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.606e-05/0.004145, allocations: 8.891 kB / 0.9833 GB, free: 100 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.004249, allocations: 117.7 kB / 0.9835 GB, free: 15.96 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.004265, allocations: 8.375 kB / 0.9835 GB, free: 15.95 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.004279, allocations: 8.375 kB / 0.9835 GB, free: 15.94 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.004481, allocations: 116.4 kB / 0.9836 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.004488, allocations: 4 kB / 0.9836 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.004498, allocations: 4 kB / 0.9836 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.004503, allocations: 0 / 0.9836 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002059/0.004709, allocations: 95.91 kB / 0.9837 GB, free: 15.72 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003816/0.00509, allocations: 299.8 kB / 0.984 GB, free: 15.39 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00036/0.00545, allocations: 122.5 kB / 0.9841 GB, free: 15.26 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.005559, allocations: 52.81 kB / 0.9841 GB, free: 15.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.005577, allocations: 4 kB / 0.9841 GB, free: 15.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.634e-05/0.005593, allocations: 30.56 kB / 0.9842 GB, free: 15.16 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.005595, allocations: 3.984 kB / 0.9842 GB, free: 15.16 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0003994/0.005994, allocations: 193.4 kB / 0.9844 GB, free: 14.96 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.006027, allocations: 51.41 kB / 0.9844 GB, free: 14.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.396e-05/0.006101, allocations: 121.8 kB / 0.9845 GB, free: 14.77 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.006113, allocations: 25.7 kB / 0.9845 GB, free: 14.74 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.615e-05/0.006159, allocations: 100.1 kB / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/0.006181, allocations: 19.8 kB / 0.9847 GB, free: 14.62 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.846e-05/0.006219, allocations: 25.7 kB / 0.9847 GB, free: 14.59 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.932e-05/0.006299, allocations: 322.8 kB / 0.985 GB, free: 14.26 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.006399, allocations: 47.95 kB / 0.985 GB, free: 14.21 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.296e-05/0.006492, allocations: 47.95 kB / 0.9851 GB, free: 14.17 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001951/0.006687, allocations: 88.78 kB / 0.9852 GB, free: 14.08 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.00669, allocations: 0 / 0.9852 GB, free: 14.08 MB / 0.948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002324/0.006922, allocations: 145.5 kB / 0.9853 GB, free: 13.93 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.006936, allocations: 4 kB / 0.9853 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.006941, allocations: 0 / 0.9853 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.006954, allocations: 4 kB / 0.9853 GB, free: 13.92 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.178e-05/0.007046, allocations: 23.97 kB / 0.9853 GB, free: 13.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.007052, allocations: 3.938 kB / 0.9853 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.01e-05/0.007113, allocations: 19.98 kB / 0.9854 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.007123, allocations: 7.922 kB / 0.9854 GB, free: 13.87 MB / 0.948 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 8.312e-05/0.007206, allocations: 113.8 kB / 0.9855 GB, free: 13.75 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.957e-05/0.007226, allocations: 7.953 kB / 0.9855 GB, free: 13.74 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.537e-05/0.007251, allocations: 8.438 kB / 0.9855 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.007257, allocations: 4 kB / 0.9855 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.007264, allocations: 0 / 0.9855 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.007267, allocations: 0 / 0.9855 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.007436, allocations: 160.6 kB / 0.9857 GB, free: 13.53 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.007438, allocations: 0 / 0.9857 GB, free: 13.53 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.786e-05/0.007526, allocations: 35.91 kB / 0.9857 GB, free: 13.49 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.007529, allocations: 4 kB / 0.9857 GB, free: 13.49 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.00754, allocations: 0 / 0.9857 GB, free: 13.49 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.007543, allocations: 0 / 0.9857 GB, free: 13.49 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.007544, allocations: 0.5469 kB / 0.9857 GB, free: 13.49 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000307/0.007851, allocations: 235.3 kB / 0.9859 GB, free: 13.24 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.761e-05/0.007869, allocations: 15.89 kB / 0.9859 GB, free: 13.23 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.007884, allocations: 4 kB / 0.9859 GB, free: 13.22 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.164e-05/0.007955, allocations: 15.98 kB / 0.9859 GB, free: 13.21 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.302e-05/0.008028, allocations: 19.97 kB / 0.986 GB, free: 13.19 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.008035, allocations: 7.984 kB / 0.986 GB, free: 13.18 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.816e-05/0.008083, allocations: 95.27 kB / 0.9861 GB, free: 13.09 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.008083, allocations: 0 / 0.9861 GB, free: 13.09 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001759/0.008259, allocations: 19.88 kB / 0.9861 GB, free: 13.07 MB / 0.948 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.0005625/0.008822, allocations: 0.7671 MB / 0.9868 GB, free: 12.27 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002726/0.009095, allocations: 103.8 kB / 0.9869 GB, free: 12.17 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.009096, allocations: 3.938 kB / 0.9869 GB, free: 12.17 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.009206, allocations: 59.94 kB / 0.987 GB, free: 12.11 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.009479, allocations: 8 kB / 0.987 GB, free: 12.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.01091, allocations: 1.548 MB / 0.9885 GB, free: 10.47 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.263e-05/0.01097, allocations: 79.27 kB / 0.9886 GB, free: 10.37 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.513e-05/0.01102, allocations: 19.73 kB / 0.9886 GB, free: 10.35 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.971e-05/0.01109, allocations: 28.48 kB / 0.9886 GB, free: 10.32 MB / 0.948 GB Notification: Performance of SimCode: time 6.21e-07/0.01109, allocations: 0 / 0.9886 GB, free: 10.32 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01768/0.02877, allocations: 3.479 MB / 0.992 GB, free: 7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.732/6.761, allocations: 14.05 kB / 0.992 GB, free: 6.988 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv. Warning: Get data of variable sub.u1 from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv failed! Error: Could not read variable sub.u2 in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv. Warning: Get data of variable sub.u2 from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv failed! Error: Could not read variable sub.y in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv. Warning: Get data of variable sub.y from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.915116940625012]