Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.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.001558/0.001558, allocations: 102.6 kB / 16.45 MB, free: 6.445 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.001772/0.001772, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.48/1.48, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.59/2.59, allocations: 443.5 MB / 0.7287 GB, free: 14.53 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Subtract,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 67.89 kB / 1.056 GB, free: 2.48 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3395, allocations: 160.7 MB / 1.213 GB, free: 1.453 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002498/0.342, allocations: 0.7831 MB / 1.214 GB, free: 0.6602 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001398/0.3434, allocations: 0.8662 MB / 1.215 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.628e-05/0.3434, allocations: 0 / 1.215 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.465e-05/0.3435, allocations: 3.938 kB / 1.215 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.551e-05/0.3436, allocations: 15.88 kB / 1.215 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001641/0.3437, allocations: 31.95 kB / 1.215 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.3439, allocations: 95.75 kB / 1.215 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.344, allocations: 19.98 kB / 1.215 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.3441, allocations: 35.91 kB / 1.215 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.203e-05/0.3442, allocations: 47.81 kB / 1.215 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.828e-05/0.3442, allocations: 8 kB / 1.215 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.563e-05/0.3442, allocations: 11.94 kB / 1.215 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.01e-05/0.3443, allocations: 19.92 kB / 1.215 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.524e-05/0.3443, allocations: 35.8 kB / 1.215 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.3445, allocations: 99.86 kB / 1.215 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3445, allocations: 0 / 1.215 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3445, allocations: 0 / 1.215 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.3445, allocations: 0 / 1.215 GB, free: 15.36 MB / 0.9669 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.0006944/0.3452, allocations: 399 kB / 1.215 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.3452, allocations: 8.031 kB / 1.215 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.927e-05/0.3453, allocations: 42.73 kB / 1.215 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.502e-05/0.3453, allocations: 8.891 kB / 1.215 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/0.3455, allocations: 184.3 kB / 1.216 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.3455, allocations: 4.375 kB / 1.216 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.3456, allocations: 8.125 kB / 1.216 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003241/0.3459, allocations: 101.6 kB / 1.216 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.3459, allocations: 0 / 1.216 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.3459, allocations: 4 kB / 1.216 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.3459, allocations: 0 / 1.216 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004123/0.3463, allocations: 99.89 kB / 1.216 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006557/0.347, allocations: 340.6 kB / 1.216 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006301/0.3476, allocations: 122.6 kB / 1.216 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001882/0.3478, allocations: 60.8 kB / 1.216 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.3478, allocations: 0 / 1.216 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.3479, allocations: 34.5 kB / 1.216 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.3479, allocations: 0 / 1.216 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0006446/0.3485, allocations: 181.8 kB / 1.216 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.3485, allocations: 51.41 kB / 1.217 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.3487, allocations: 133.7 kB / 1.217 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.3487, allocations: 25.7 kB / 1.217 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.863e-05/0.3488, allocations: 100 kB / 1.217 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.773e-05/0.3488, allocations: 23.8 kB / 1.217 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.374e-05/0.3488, allocations: 25.7 kB / 1.217 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.349, allocations: 318.8 kB / 1.217 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/0.3492, allocations: 43.95 kB / 1.217 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/0.3493, allocations: 55.98 kB / 1.217 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003413/0.3497, allocations: 100.7 kB / 1.217 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3497, allocations: 0 / 1.217 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004266/0.3501, allocations: 137.5 kB / 1.217 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.3501, allocations: 4 kB / 1.217 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3501, allocations: 0 / 1.217 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.3502, allocations: 0 / 1.217 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.3503, allocations: 27.97 kB / 1.217 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.3503, allocations: 7.938 kB / 1.217 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.3505, allocations: 7.984 kB / 1.217 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.3505, allocations: 4 kB / 1.217 GB, free: 12.52 MB / 0.9669 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 0.0001117/0.3506, allocations: 121.8 kB / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.197e-05/0.3506, allocations: 7.953 kB / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.12e-05/0.3506, allocations: 8.375 kB / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.3506, allocations: 4 kB / 1.218 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.3506, allocations: 11.88 kB / 1.218 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3507, allocations: 0 / 1.218 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002639/0.3509, allocations: 205.6 kB / 1.218 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3509, allocations: 0 / 1.218 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001682/0.3511, allocations: 23.97 kB / 1.218 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3511, allocations: 0 / 1.218 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.3511, allocations: 0 / 1.218 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.3511, allocations: 4 kB / 1.218 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.3511, allocations: 3.938 kB / 1.218 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004642/0.3516, allocations: 239.3 kB / 1.218 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.233e-05/0.3516, allocations: 85 kB / 1.218 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.3517, allocations: 4 kB / 1.218 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.3518, allocations: 15.97 kB / 1.218 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.48e-05/0.3519, allocations: 27.92 kB / 1.218 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.3519, allocations: 7.969 kB / 1.218 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.631e-05/0.352, allocations: 95.22 kB / 1.218 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.352, allocations: 0 / 1.218 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002404/0.3522, allocations: 19.98 kB / 1.218 GB, free: 11.56 MB / 0.9669 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.0008883/0.3531, allocations: 0.767 MB / 1.219 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004325/0.3536, allocations: 103.9 kB / 1.219 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.3536, allocations: 4 kB / 1.219 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002184/0.3538, allocations: 63.88 kB / 1.219 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.3541, allocations: 12.64 kB / 1.219 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002259/0.3564, allocations: 1.548 MB / 1.221 GB, free: 8.957 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.3567, allocations: 0.6885 MB / 1.221 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.82e-05/0.3568, allocations: 12 kB / 1.221 GB, free: 8.23 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.202e-05/0.3569, allocations: 27.42 kB / 1.221 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of SimCode: time 5.31e-07/0.3569, allocations: 4 kB / 1.221 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02736/0.3842, allocations: 2.708 MB / 1.224 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.115/8.499, allocations: 4.641 kB / 1.224 GB, free: 5.59 MB / 0.9669 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.357262005098164]