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.001429/0.001429, allocations: 113 kB / 16.46 MB, free: 6.453 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.002065/0.002065, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.509/1.509, allocations: 230.6 MB / 252.8 MB, free: 8.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.277/3.277, allocations: 0.49 GB / 0.7916 GB, free: 33.42 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002003/0.002003, allocations: 75.78 kB / 1.149 GB, free: 26.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.3566, allocations: 176.1 MB / 1.321 GB, free: 3.504 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.00257/0.3592, allocations: 0.7786 MB / 1.322 GB, free: 2.727 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001372/0.3606, allocations: 0.8977 MB / 1.322 GB, free: 1.816 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.563e-05/0.3606, allocations: 0 / 1.322 GB, free: 1.816 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.914e-05/0.3607, allocations: 3.938 kB / 1.322 GB, free: 1.812 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.3608, allocations: 15.86 kB / 1.322 GB, free: 1.797 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002023/0.361, allocations: 35.89 kB / 1.323 GB, free: 1.762 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001543/0.3611, allocations: 83.88 kB / 1.323 GB, free: 1.68 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.3613, allocations: 27.91 kB / 1.323 GB, free: 1.652 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.736e-05/0.3614, allocations: 39.92 kB / 1.323 GB, free: 1.613 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.746e-05/0.3615, allocations: 51.75 kB / 1.323 GB, free: 1.562 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.869e-05/0.3615, allocations: 8 kB / 1.323 GB, free: 1.555 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.783e-05/0.3615, allocations: 8 kB / 1.323 GB, free: 1.547 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.263e-05/0.3615, allocations: 23.91 kB / 1.323 GB, free: 1.523 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000212/0.3618, allocations: 31.8 kB / 1.323 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.3619, allocations: 83.95 kB / 1.323 GB, free: 1.41 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.3619, allocations: 7.984 kB / 1.323 GB, free: 1.402 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3619, allocations: 3.938 kB / 1.323 GB, free: 1.398 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.3619, allocations: 0 / 1.323 GB, free: 1.398 MB / 1.014 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.0008027/0.3627, allocations: 404.8 kB / 1.323 GB, free: 0.957 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.3628, allocations: 11.98 kB / 1.323 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.42e-05/0.3628, allocations: 38.75 kB / 1.323 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.854e-05/0.3629, allocations: 8.891 kB / 1.323 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.3631, allocations: 176.3 kB / 1.323 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.3631, allocations: 12.3 kB / 1.323 GB, free: 0.668 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.3631, allocations: 12.11 kB / 1.323 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003538/0.3635, allocations: 109.6 kB / 1.324 GB, free: 0.543 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.3635, allocations: 0 / 1.324 GB, free: 0.543 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.3635, allocations: 0 / 1.324 GB, free: 0.543 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.3635, allocations: 4 kB / 1.324 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003988/0.3639, allocations: 95.91 kB / 1.324 GB, free: 456 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005943/0.3645, allocations: 344.6 kB / 1.324 GB, free: 60 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007028/0.3652, allocations: 118.6 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002181/0.3654, allocations: 52.75 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.3654, allocations: 8 kB / 1.324 GB, free: 15.87 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.3655, allocations: 34.56 kB / 1.324 GB, free: 15.83 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.3655, allocations: 0 / 1.324 GB, free: 15.83 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0007242/0.3662, allocations: 185.5 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.3662, allocations: 55.41 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.3664, allocations: 121.8 kB / 1.325 GB, free: 15.45 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.3664, allocations: 25.7 kB / 1.325 GB, free: 15.41 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.851e-05/0.3665, allocations: 96.08 kB / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.932e-05/0.3665, allocations: 19.8 kB / 1.325 GB, free: 15.3 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.268e-05/0.3665, allocations: 25.7 kB / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002731/0.3668, allocations: 318.8 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002107/0.367, allocations: 51.89 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.3672, allocations: 47.95 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003757/0.3676, allocations: 92.78 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3676, allocations: 0 / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004531/0.368, allocations: 142 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.3681, allocations: 4 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3681, allocations: 0 / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.3681, allocations: 0 / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/0.3683, allocations: 31.84 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.3683, allocations: 3.938 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.3684, allocations: 19.94 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.3684, allocations: 7.984 kB / 1.325 GB, free: 14.54 MB / 1.029 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.0001056/0.3685, allocations: 113.8 kB / 1.326 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.027e-05/0.3685, allocations: 0 / 1.326 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.334e-05/0.3686, allocations: 20.31 kB / 1.326 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.3686, allocations: 0 / 1.326 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.3686, allocations: 3.938 kB / 1.326 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3686, allocations: 0 / 1.326 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002597/0.3688, allocations: 201.6 kB / 1.326 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3688, allocations: 4 kB / 1.326 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.369, allocations: 23.97 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.369, allocations: 4 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.369, allocations: 3.984 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.369, allocations: 80 / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.369, allocations: 7.922 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000526/0.3696, allocations: 243.3 kB / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.856e-05/0.3696, allocations: 85.05 kB / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.3697, allocations: 0 / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.3698, allocations: 11.98 kB / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.273e-05/0.3699, allocations: 27.91 kB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.3699, allocations: 0 / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.265e-05/0.37, allocations: 99.27 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.37, allocations: 4 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002429/0.3702, allocations: 15.95 kB / 1.326 GB, free: 13.59 MB / 1.029 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.001023/0.3712, allocations: 0.7709 MB / 1.327 GB, free: 12.8 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004679/0.3717, allocations: 99.89 kB / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3717, allocations: 0 / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002315/0.3719, allocations: 67.88 kB / 1.327 GB, free: 12.63 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.3722, allocations: 19.92 kB / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002639/0.3749, allocations: 1.521 MB / 1.329 GB, free: 11.01 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004477/0.3753, allocations: 0.6963 MB / 1.329 GB, free: 10.29 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.874e-05/0.3754, allocations: 11.98 kB / 1.329 GB, free: 10.27 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.619e-05/0.3755, allocations: 31.42 kB / 1.329 GB, free: 10.24 MB / 1.029 GB Notification: Performance of SimCode: time 7.91e-07/0.3755, allocations: 0 / 1.329 GB, free: 10.24 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02978/0.4053, allocations: 2.719 MB / 1.332 GB, free: 7.629 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.08/8.486, allocations: 4.688 kB / 1.332 GB, free: 7.625 MB / 1.029 GB " [Timeout remaining time 291] (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/jenkins1/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: 15.253446394111961]