Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_9_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.005434/0.005434, allocations: 99.64 kB / 15.73 MB, free: 5.547 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.00117/0.00117, allocations: 193.6 kB / 16.67 MB, free: 5.492 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.357/2.357, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 67.83 kB / 0.9504 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.2653, allocations: 140.4 MB / 1.087 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002963/0.2683, allocations: 0.7585 MB / 1.088 GB, free: 1.223 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001499/0.2698, allocations: 0.8662 MB / 1.089 GB, free: 352 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.853e-05/0.2699, allocations: 4 kB / 1.089 GB, free: 348 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.848e-05/0.27, allocations: 7.875 kB / 1.089 GB, free: 340 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001168/0.2702, allocations: 15.92 kB / 1.089 GB, free: 324 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002204/0.2704, allocations: 35.91 kB / 1.089 GB, free: 288 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001779/0.2706, allocations: 87.8 kB / 1.089 GB, free: 200 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.2707, allocations: 23.98 kB / 1.089 GB, free: 176 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.2709, allocations: 35.86 kB / 1.089 GB, free: 140 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.271, allocations: 55.81 kB / 1.089 GB, free: 84 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.234e-05/0.271, allocations: 8 kB / 1.089 GB, free: 76 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 2.053e-05/0.2711, allocations: 11.94 kB / 1.089 GB, free: 64 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.383e-05/0.2711, allocations: 19.91 kB / 1.089 GB, free: 44 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 7.07e-05/0.2712, allocations: 39.78 kB / 1.089 GB, free: 4 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002025/0.2714, allocations: 79.86 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.2714, allocations: 3.984 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2714, allocations: 0 / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.695e-06/0.2715, allocations: 0 / 1.089 GB, free: 15.92 MB / 0.8575 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.0008758/0.2724, allocations: 398.8 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.2724, allocations: 12.03 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.495e-05/0.2725, allocations: 38.72 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.058e-05/0.2725, allocations: 12.84 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.2727, allocations: 172.2 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.2728, allocations: 8.375 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/0.2728, allocations: 12.12 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004633/0.2733, allocations: 109.6 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.2733, allocations: 0 / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.2733, allocations: 3.938 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.2733, allocations: 0 / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005828/0.2739, allocations: 99.84 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007359/0.2747, allocations: 344.6 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008732/0.2756, allocations: 118.5 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00028/0.2759, allocations: 60.88 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.2759, allocations: 0 / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/0.276, allocations: 34.56 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.276, allocations: 0 / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0009495/0.2769, allocations: 189.4 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.951e-05/0.277, allocations: 51.41 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.2771, allocations: 126.1 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.2772, allocations: 25.7 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.33e-05/0.2773, allocations: 104 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.675e-05/0.2773, allocations: 19.8 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.69e-05/0.2774, allocations: 21.7 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.2776, allocations: 318.8 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000305/0.2779, allocations: 51.95 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002736/0.2782, allocations: 43.95 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005489/0.2787, allocations: 88.78 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.2787, allocations: 0 / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006718/0.2794, allocations: 145.4 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.2794, allocations: 5.875 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.2795, allocations: 0 / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.2795, allocations: 0 / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002559/0.2798, allocations: 23.97 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.2798, allocations: 11.88 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.28, allocations: 15.92 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/0.28, allocations: 11.98 kB / 1.092 GB, free: 13.07 MB / 0.8575 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 0.0001247/0.2801, allocations: 117.8 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.608e-05/0.2802, allocations: 7.906 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.567e-05/0.2802, allocations: 8.375 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.2803, allocations: 0 / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.2803, allocations: 3.938 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.2803, allocations: 0 / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003136/0.2806, allocations: 201.6 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2806, allocations: 0 / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/0.2809, allocations: 31.91 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.2809, allocations: 0 / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.2809, allocations: 4 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.2809, allocations: 4 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.496e-06/0.2809, allocations: 11.92 kB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007076/0.2817, allocations: 227.4 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.576e-05/0.2817, allocations: 85 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.2818, allocations: 0 / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002199/0.282, allocations: 15.98 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.2821, allocations: 31.89 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.2821, allocations: 0 / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.686e-05/0.2822, allocations: 99.31 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2822, allocations: 0 / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003358/0.2826, allocations: 16 kB / 1.093 GB, free: 12.13 MB / 0.8575 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.001019/0.2836, allocations: 0.7676 MB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006326/0.2843, allocations: 111.9 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.2843, allocations: 0 / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003095/0.2846, allocations: 64.12 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004686/0.2851, allocations: 8.094 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003116/0.2882, allocations: 1.542 MB / 1.095 GB, free: 9.531 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.2886, allocations: 0.6963 MB / 1.096 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.618e-05/0.2887, allocations: 7.75 kB / 1.096 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.2889, allocations: 39.59 kB / 1.096 GB, free: 8.762 MB / 0.8575 GB Notification: Performance of SimCode: time 8.42e-07/0.2889, allocations: 7.875 kB / 1.096 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0242/0.3131, allocations: 2.74 MB / 1.099 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.689/8.002, allocations: 0 / 1.099 GB, free: 6.109 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Add.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,add1.u1,add1.u2,add1.y Variables in the result:add1.u1,add1.u2,add1.y,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,ramp2.duration,ramp2.height,ramp2.offset,ramp2.startTime,ramp2.y,reaToInt.u,reaToInt.y,reaToInt1.u,reaToInt1.y,round1.n,round1.u,round1.y,round2.n,round2.u,round2.y,time