Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.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.001293/0.001293, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001521/0.001521, allocations: 220.3 kB / 22.25 MB, free: 5.254 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.483/1.483, allocations: 230.6 MB / 256 MB, free: 7.797 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.125/3.125, allocations: 0.49 GB / 0.7951 GB, free: 35.47 MB / 0.6231 GB " [Timeout remaining time 177] 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.Add,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Add",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.002235/0.002235, allocations: 71.41 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3495, allocations: 176.1 MB / 1.326 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002084/0.3516, allocations: 0.7691 MB / 1.327 GB, free: 0.75 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.3527, allocations: 0.8821 MB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.239e-05/0.3528, allocations: 7.938 kB / 1.327 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.778e-05/0.3528, allocations: 7.922 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.975e-05/0.3529, allocations: 11.86 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001667/0.3531, allocations: 39.95 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.3532, allocations: 91.75 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.3533, allocations: 16.27 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.413e-05/0.3534, allocations: 39.86 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.958e-05/0.3535, allocations: 47.81 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.3535, allocations: 8 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.635e-05/0.3535, allocations: 8 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.896e-05/0.3535, allocations: 19.98 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.253e-05/0.3536, allocations: 31.8 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.3537, allocations: 95.58 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3537, allocations: 0 / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3537, allocations: 4 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.3538, allocations: 0 / 1.328 GB, free: 15.43 MB / 1.029 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.0006546/0.3544, allocations: 322 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.3544, allocations: 12.03 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.208e-05/0.3545, allocations: 30.75 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.322e-05/0.3545, allocations: 8.891 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.3547, allocations: 122.4 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.3547, allocations: 4.375 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.754e-05/0.3547, allocations: 12.12 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003205/0.355, allocations: 113.5 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.3551, allocations: 0 / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.3551, allocations: 0 / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.3551, allocations: 7.938 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000364/0.3554, allocations: 91.91 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005515/0.356, allocations: 299.8 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006371/0.3566, allocations: 118.6 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001923/0.3568, allocations: 52.81 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.3568, allocations: 4 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.3569, allocations: 34.56 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.3569, allocations: 0 / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0006579/0.3575, allocations: 185.4 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.3576, allocations: 55.41 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.3577, allocations: 121.8 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.3577, allocations: 25.7 kB / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.471e-05/0.3578, allocations: 96.08 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.576e-05/0.3578, allocations: 23.78 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.275e-05/0.3579, allocations: 25.7 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.358, allocations: 318.8 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001815/0.3582, allocations: 43.95 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/0.3583, allocations: 43.95 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003457/0.3587, allocations: 108.7 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.3587, allocations: 0 / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004138/0.3591, allocations: 137.5 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.3591, allocations: 4 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.3591, allocations: 0 / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.3591, allocations: 4 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.3593, allocations: 27.97 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.3593, allocations: 3.938 kB / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.3594, allocations: 15.94 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.3595, allocations: 11.98 kB / 1.33 GB, free: 12.8 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,add1.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.926e-05/0.3596, allocations: 118.3 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.3596, allocations: 3.938 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.358e-05/0.3596, allocations: 12.38 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3596, allocations: 0 / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.3596, allocations: 3.938 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.3596, allocations: 4 kB / 1.33 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002146/0.3599, allocations: 160.7 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3599, allocations: 0 / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.36, allocations: 23.97 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.36, allocations: 0 / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.36, allocations: 7.984 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.36, allocations: 4 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.36, allocations: 3.938 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004621/0.3605, allocations: 235.4 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.634e-05/0.3605, allocations: 7.938 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.3605, allocations: 0 / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.3607, allocations: 23.91 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.638e-05/0.3608, allocations: 19.92 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.3608, allocations: 7.984 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.431e-05/0.3608, allocations: 91.27 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3608, allocations: 0 / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002272/0.3611, allocations: 15.95 kB / 1.331 GB, free: 12 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 (add1.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.0007871/0.3619, allocations: 0.7638 MB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004088/0.3623, allocations: 111.9 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3623, allocations: 4 kB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000216/0.3625, allocations: 67.88 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.3628, allocations: 9.812 kB / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00219/0.365, allocations: 1.532 MB / 1.333 GB, free: 9.414 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.279e-05/0.3651, allocations: 71.33 kB / 1.333 GB, free: 9.324 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.569e-05/0.3652, allocations: 12 kB / 1.333 GB, free: 9.312 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.664e-05/0.3652, allocations: 31.41 kB / 1.334 GB, free: 9.281 MB / 1.029 GB Notification: Performance of SimCode: time 5.31e-07/0.3652, allocations: 3.938 kB / 1.334 GB, free: 9.277 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02934/0.3946, allocations: 3.381 MB / 1.337 GB, free: 6.031 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.68, allocations: 10.31 kB / 1.337 GB, free: 6.023 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Add.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.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: 18.368631774996174]