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.0009125/0.0009125, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0007924/0.0007924, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8621/0.8621, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.715/1.715, allocations: 377.8 MB / 0.6221 GB, free: 8.688 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.024e-06/2.024e-06, allocations: 0 / 0.981 GB, free: 1.449 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.551e-05/1.753e-05, allocations: 6.281 kB / 0.981 GB, free: 1.441 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001323/0.00134, allocations: 0.7446 MB / 0.9817 GB, free: 0.6953 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.0008451/0.002185, allocations: 0.886 MB / 0.9826 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.832e-05/0.002234, allocations: 0 / 0.9826 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.975e-05/0.002264, allocations: 7.875 kB / 0.9826 GB, free: 15.79 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.472e-05/0.002338, allocations: 15.86 kB / 0.9826 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001548/0.002493, allocations: 43.83 kB / 0.9826 GB, free: 15.73 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.903e-05/0.002582, allocations: 79.83 kB / 0.9827 GB, free: 15.65 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.002686, allocations: 19.98 kB / 0.9827 GB, free: 15.63 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.711e-05/0.002773, allocations: 51.88 kB / 0.9828 GB, free: 15.58 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.295e-05/0.002836, allocations: 39.88 kB / 0.9828 GB, free: 15.54 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.617e-05/0.002862, allocations: 12 kB / 0.9828 GB, free: 15.53 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 1.188e-05/0.002874, allocations: 8 kB / 0.9828 GB, free: 15.52 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.228e-05/0.002896, allocations: 23.92 kB / 0.9829 GB, free: 15.5 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.011e-05/0.002926, allocations: 31.91 kB / 0.9829 GB, free: 15.47 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.003042, allocations: 87.72 kB / 0.983 GB, free: 15.38 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.003044, allocations: 3.984 kB / 0.983 GB, free: 15.38 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.072e-06/0.003046, allocations: 0 / 0.983 GB, free: 15.38 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.003049, allocations: 0 / 0.983 GB, free: 15.38 MB / 0.9011 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.000435/0.003484, allocations: 318 kB / 0.9833 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.003524, allocations: 20.02 kB / 0.9833 GB, free: 15.02 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.333e-05/0.003557, allocations: 38.75 kB / 0.9833 GB, free: 14.97 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.593e-05/0.003583, allocations: 8.891 kB / 0.9834 GB, free: 14.96 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.921e-05/0.003682, allocations: 121.7 kB / 0.9835 GB, free: 14.82 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.003697, allocations: 384 / 0.9835 GB, free: 14.82 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.00371, allocations: 8.375 kB / 0.9835 GB, free: 14.81 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.003909, allocations: 109.9 kB / 0.9836 GB, free: 14.7 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.003918, allocations: 3.984 kB / 0.9836 GB, free: 14.7 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.003928, allocations: 3.938 kB / 0.9836 GB, free: 14.69 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.912e-06/0.003934, allocations: 8 kB / 0.9836 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002022/0.004136, allocations: 91.91 kB / 0.9837 GB, free: 14.59 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003938/0.00453, allocations: 295.7 kB / 0.984 GB, free: 14.26 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003594/0.004889, allocations: 114.6 kB / 0.9841 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.004996, allocations: 64.73 kB / 0.9841 GB, free: 14.07 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.005014, allocations: 0 / 0.9841 GB, free: 14.07 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.005035, allocations: 38.56 kB / 0.9842 GB, free: 14.03 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.005037, allocations: 0 / 0.9842 GB, free: 14.03 MB / 0.9011 GB Notification: Performance of matching and sorting (n=7): time 0.0003964/0.005433, allocations: 181.5 kB / 0.9843 GB, free: 13.84 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.005464, allocations: 55.41 kB / 0.9844 GB, free: 13.78 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.412e-05/0.005538, allocations: 125.8 kB / 0.9845 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.005551, allocations: 25.7 kB / 0.9845 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.423e-05/0.005596, allocations: 100.1 kB / 0.9846 GB, free: 13.51 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.005614, allocations: 15.8 kB / 0.9847 GB, free: 13.5 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.00565, allocations: 25.7 kB / 0.9847 GB, free: 13.46 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.532e-05/0.005725, allocations: 318.8 kB / 0.985 GB, free: 13.14 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.477e-05/0.00582, allocations: 47.89 kB / 0.985 GB, free: 13.1 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.844e-05/0.005908, allocations: 51.95 kB / 0.9851 GB, free: 13.05 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001839/0.006092, allocations: 97.23 kB / 0.9852 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.006094, allocations: 0 / 0.9852 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002208/0.006315, allocations: 145.5 kB / 0.9853 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.00633, allocations: 7.984 kB / 0.9853 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.006335, allocations: 0 / 0.9853 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.006347, allocations: 0 / 0.9853 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.34e-05/0.006431, allocations: 27.91 kB / 0.9853 GB, free: 12.77 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.006435, allocations: 0 / 0.9853 GB, free: 12.77 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.034e-05/0.006486, allocations: 11.98 kB / 0.9854 GB, free: 12.75 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.006494, allocations: 7.938 kB / 0.9854 GB, free: 12.75 MB / 0.9011 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 7.022e-05/0.006564, allocations: 121.8 kB / 0.9855 GB, free: 12.62 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.736e-05/0.006581, allocations: 7.938 kB / 0.9855 GB, free: 12.61 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.011e-05/0.006602, allocations: 12.44 kB / 0.9855 GB, free: 12.6 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.006603, allocations: 0 / 0.9855 GB, free: 12.6 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.006608, allocations: 0 / 0.9855 GB, free: 12.6 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.00661, allocations: 0 / 0.9855 GB, free: 12.6 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001322/0.006742, allocations: 156.7 kB / 0.9856 GB, free: 12.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.006743, allocations: 0 / 0.9856 GB, free: 12.4 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.435e-05/0.006807, allocations: 23.97 kB / 0.9857 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.006809, allocations: 0 / 0.9857 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.006821, allocations: 15.98 kB / 0.9857 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.82e-07/0.006821, allocations: 7.938 kB / 0.9857 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.006822, allocations: 0 / 0.9857 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002578/0.00708, allocations: 243.2 kB / 0.9859 GB, free: 12.1 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 1.27e-05/0.007093, allocations: 11.89 kB / 0.9859 GB, free: 12.09 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.007106, allocations: 0 / 0.9859 GB, free: 12.09 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.419e-05/0.00717, allocations: 11.98 kB / 0.9859 GB, free: 12.08 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.158e-05/0.007232, allocations: 23.97 kB / 0.986 GB, free: 12.05 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.007238, allocations: 4 kB / 0.986 GB, free: 12.05 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 3.813e-05/0.007276, allocations: 99.64 kB / 0.9861 GB, free: 11.95 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007276, allocations: 0 / 0.9861 GB, free: 11.95 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001609/0.007437, allocations: 15.94 kB / 0.9861 GB, free: 11.94 MB / 0.9011 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.0004624/0.007899, allocations: 0.7709 MB / 0.9868 GB, free: 11.14 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002484/0.008148, allocations: 95.91 kB / 0.9869 GB, free: 11.05 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.008149, allocations: 4 kB / 0.9869 GB, free: 11.04 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.008257, allocations: 63.88 kB / 0.987 GB, free: 10.98 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.008479, allocations: 11.98 kB / 0.987 GB, free: 10.97 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.01008, allocations: 1.538 MB / 0.9885 GB, free: 9.348 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.462e-05/0.01013, allocations: 83.33 kB / 0.9886 GB, free: 9.246 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 4.452e-05/0.01018, allocations: 8 kB / 0.9886 GB, free: 9.238 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.278e-05/0.01024, allocations: 32.47 kB / 0.9886 GB, free: 9.207 MB / 0.9011 GB Notification: Performance of SimCode: time 6.41e-07/0.01024, allocations: 0 / 0.9886 GB, free: 9.207 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01469/0.02493, allocations: 3.487 MB / 0.992 GB, free: 5.871 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.754/6.779, allocations: 13.69 kB / 0.992 GB, free: 5.863 MB / 0.9011 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.713831223547459]