Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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.Add,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004307/0.004307, allocations: 98.36 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 203.9 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.258/1.258, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.355/2.355, allocations: 437.1 MB / 0.7106 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 71.89 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.2323, allocations: 151.6 MB / 1.166 GB, free: 7.273 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001601/0.2339, allocations: 0.7814 MB / 1.167 GB, free: 6.484 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008647/0.2348, allocations: 0.8702 MB / 1.168 GB, free: 5.602 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.829e-05/0.2348, allocations: 0 / 1.168 GB, free: 5.602 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.617e-05/0.2349, allocations: 3.938 kB / 1.168 GB, free: 5.598 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.971e-05/0.2349, allocations: 19.84 kB / 1.168 GB, free: 5.578 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000127/0.2351, allocations: 27.97 kB / 1.168 GB, free: 5.551 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.2352, allocations: 99.73 kB / 1.168 GB, free: 5.453 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.252e-05/0.2353, allocations: 24 kB / 1.168 GB, free: 5.43 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.939e-05/0.2354, allocations: 31.91 kB / 1.168 GB, free: 5.398 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.77e-05/0.2355, allocations: 47.81 kB / 1.168 GB, free: 5.352 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.2355, allocations: 8 kB / 1.168 GB, free: 5.344 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.613e-05/0.2355, allocations: 8 kB / 1.168 GB, free: 5.336 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.955e-05/0.2355, allocations: 23.92 kB / 1.168 GB, free: 5.312 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.425e-05/0.2356, allocations: 43.72 kB / 1.168 GB, free: 5.27 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.2357, allocations: 87.92 kB / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.2357, allocations: 0 / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2357, allocations: 7.938 kB / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.2357, allocations: 0 / 1.168 GB, free: 5.176 MB / 0.92 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.0005768/0.2363, allocations: 395.1 kB / 1.169 GB, free: 4.742 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.2364, allocations: 8.031 kB / 1.169 GB, free: 4.734 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.745e-05/0.2364, allocations: 42.73 kB / 1.169 GB, free: 4.684 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.834e-05/0.2364, allocations: 8.891 kB / 1.169 GB, free: 4.676 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.2366, allocations: 180.2 kB / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.2366, allocations: 12.38 kB / 1.169 GB, free: 4.449 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.2366, allocations: 8.125 kB / 1.169 GB, free: 4.441 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002782/0.2369, allocations: 101.6 kB / 1.169 GB, free: 4.336 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.2369, allocations: 0 / 1.169 GB, free: 4.336 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.2369, allocations: 4 kB / 1.169 GB, free: 4.332 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.2369, allocations: 0 / 1.169 GB, free: 4.332 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003692/0.2373, allocations: 99.91 kB / 1.169 GB, free: 4.234 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004706/0.2378, allocations: 344.6 kB / 1.169 GB, free: 3.848 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005631/0.2384, allocations: 114.6 kB / 1.169 GB, free: 3.727 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/0.2386, allocations: 60.81 kB / 1.17 GB, free: 3.664 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.2386, allocations: 7.984 kB / 1.17 GB, free: 3.656 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.2386, allocations: 34.5 kB / 1.17 GB, free: 3.613 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.2386, allocations: 0 / 1.17 GB, free: 3.613 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0006205/0.2392, allocations: 185.5 kB / 1.17 GB, free: 3.426 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.2393, allocations: 51.41 kB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.257e-05/0.2394, allocations: 126.1 kB / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.2394, allocations: 25.7 kB / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.213e-05/0.2395, allocations: 96.08 kB / 1.17 GB, free: 3.102 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.2395, allocations: 19.8 kB / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.641e-05/0.2395, allocations: 29.64 kB / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.2397, allocations: 322.8 kB / 1.17 GB, free: 2.723 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.2398, allocations: 43.95 kB / 1.17 GB, free: 2.68 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.24, allocations: 47.95 kB / 1.17 GB, free: 2.633 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003336/0.2404, allocations: 108.7 kB / 1.171 GB, free: 2.523 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.2404, allocations: 0 / 1.171 GB, free: 2.523 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003866/0.2408, allocations: 137.5 kB / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.2408, allocations: 4 kB / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.2408, allocations: 0 / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/0.2408, allocations: 0 / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.2409, allocations: 27.97 kB / 1.171 GB, free: 2.352 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.241, allocations: 3.938 kB / 1.171 GB, free: 2.348 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.2411, allocations: 11.98 kB / 1.171 GB, free: 2.336 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.2411, allocations: 7.984 kB / 1.171 GB, free: 2.328 MB / 0.92 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 7.899e-05/0.2412, allocations: 117.8 kB / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.726e-05/0.2412, allocations: 7.938 kB / 1.171 GB, free: 2.195 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.995e-05/0.2412, allocations: 12.38 kB / 1.171 GB, free: 2.184 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.2413, allocations: 0 / 1.171 GB, free: 2.184 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.2413, allocations: 7.938 kB / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.2413, allocations: 0 / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001951/0.2415, allocations: 201.6 kB / 1.171 GB, free: 1.93 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2415, allocations: 0 / 1.171 GB, free: 1.93 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001497/0.2416, allocations: 31.91 kB / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.2416, allocations: 0 / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.2417, allocations: 0 / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2417, allocations: 0 / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.2417, allocations: 3.938 kB / 1.171 GB, free: 1.895 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000434/0.2421, allocations: 235.3 kB / 1.171 GB, free: 1.648 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.35e-05/0.2422, allocations: 92.98 kB / 1.171 GB, free: 1.539 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.2422, allocations: 4 kB / 1.171 GB, free: 1.535 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.2423, allocations: 11.98 kB / 1.171 GB, free: 1.523 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.226e-05/0.2424, allocations: 23.92 kB / 1.172 GB, free: 1.5 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.2424, allocations: 7.984 kB / 1.172 GB, free: 1.492 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.035e-05/0.2425, allocations: 103.2 kB / 1.172 GB, free: 1.391 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2425, allocations: 0 / 1.172 GB, free: 1.391 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002083/0.2427, allocations: 16 kB / 1.172 GB, free: 1.375 MB / 0.92 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.0007207/0.2434, allocations: 0.7638 MB / 1.172 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003864/0.2438, allocations: 111.9 kB / 1.172 GB, free: 488 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2438, allocations: 0 / 1.172 GB, free: 488 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001934/0.244, allocations: 63.94 kB / 1.173 GB, free: 424 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.2443, allocations: 11.94 kB / 1.173 GB, free: 412 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/0.2462, allocations: 1.533 MB / 1.174 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/0.2465, allocations: 0.6924 MB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.717e-05/0.2466, allocations: 8 kB / 1.175 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.347e-05/0.2466, allocations: 35.41 kB / 1.175 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of SimCode: time 2.11e-07/0.2466, allocations: 0 / 1.175 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.542/3.789, allocations: 2.7 MB / 1.177 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/16.43, allocations: 13.34 kB / 1.177 GB, free: 11.41 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Add.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches