Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.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.001613/0.001613, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002069/0.002069, allocations: 217 kB / 22.25 MB, free: 5.105 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.452/1.452, allocations: 230.6 MB / 256 MB, free: 7.836 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.181/3.181, allocations: 0.49 GB / 0.7951 GB, free: 35.44 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.Equal,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",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.002017/0.002017, allocations: 66.7 kB / 1.154 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3879/0.39, allocations: 176.1 MB / 1.326 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.005703/0.3957, allocations: 1.978 MB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003279/0.3989, allocations: 1.281 MB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002064/0.3991, allocations: 4 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006236/0.3998, allocations: 167.4 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006305/0.4004, allocations: 211.2 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000454/0.4009, allocations: 163.6 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004884/0.4013, allocations: 343 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002023/0.4015, allocations: 41.03 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002254/0.4018, allocations: 151.4 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002603/0.402, allocations: 163.3 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.044e-05/0.4021, allocations: 19.94 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001715/0.4022, allocations: 63.97 kB / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001582/0.4024, allocations: 99.72 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.4025, allocations: 99.27 kB / 1.33 GB, free: 12.74 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006091/0.4032, allocations: 382.3 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.4032, allocations: 0 / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4032, allocations: 3.938 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.643e-05/0.4032, allocations: 0 / 1.331 GB, free: 12.36 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001373/0.4045, allocations: 0.5663 MB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.4046, allocations: 8.031 kB / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.288e-05/0.4047, allocations: 42.73 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.257e-05/0.4047, allocations: 36.7 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005706/0.4053, allocations: 328.3 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.4053, allocations: 8 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.4054, allocations: 4 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002849/0.4056, allocations: 109.6 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.4056, allocations: 0 / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.4057, allocations: 4 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.4057, allocations: 4 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001817/0.4059, allocations: 63.89 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008616/0.4067, allocations: 455.6 kB / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003699/0.4071, allocations: 134.7 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.4072, allocations: 48.83 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.4072, allocations: 4 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002591/0.4075, allocations: 116.4 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.743e-06/0.4075, allocations: 0 / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0005949/0.4081, allocations: 242.4 kB / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.4081, allocations: 55.41 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006492/0.4088, allocations: 0.5327 MB / 1.334 GB, free: 9.473 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.4088, allocations: 33.7 kB / 1.334 GB, free: 9.434 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.409, allocations: 168.5 kB / 1.334 GB, free: 9.262 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.65e-05/0.409, allocations: 35.73 kB / 1.334 GB, free: 9.227 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.4091, allocations: 77.91 kB / 1.334 GB, free: 9.141 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.4093, allocations: 338.8 kB / 1.334 GB, free: 8.801 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002089/0.4095, allocations: 108.5 kB / 1.334 GB, free: 8.695 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002316/0.4098, allocations: 135.6 kB / 1.334 GB, free: 8.555 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00036/0.4101, allocations: 191 kB / 1.335 GB, free: 8.359 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4101, allocations: 0 / 1.335 GB, free: 8.359 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00058/0.4107, allocations: 333.3 kB / 1.335 GB, free: 8.027 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.4107, allocations: 15.88 kB / 1.335 GB, free: 8.012 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.4107, allocations: 0 / 1.335 GB, free: 8.012 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.4107, allocations: 7.938 kB / 1.335 GB, free: 8.004 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002407/0.411, allocations: 47.91 kB / 1.335 GB, free: 7.957 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.411, allocations: 8.062 kB / 1.335 GB, free: 7.949 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/0.4111, allocations: 15.95 kB / 1.335 GB, free: 7.934 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.476e-05/0.4112, allocations: 15.98 kB / 1.335 GB, free: 7.918 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0002012/0.4114, allocations: 190.7 kB / 1.335 GB, free: 7.723 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.683e-05/0.4114, allocations: 43.69 kB / 1.335 GB, free: 7.68 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004636/0.4119, allocations: 204.7 kB / 1.335 GB, free: 7.473 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.4119, allocations: 0 / 1.335 GB, free: 7.473 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.4119, allocations: 0 / 1.335 GB, free: 7.473 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4119, allocations: 4 kB / 1.335 GB, free: 7.469 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003071/0.4122, allocations: 264.5 kB / 1.336 GB, free: 7.168 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4122, allocations: 0 / 1.336 GB, free: 7.168 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.88e-05/0.4123, allocations: 15.98 kB / 1.336 GB, free: 7.152 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.4123, allocations: 7.938 kB / 1.336 GB, free: 7.145 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.4123, allocations: 7.984 kB / 1.336 GB, free: 7.137 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4123, allocations: 0 / 1.336 GB, free: 7.137 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.4123, allocations: 0 / 1.336 GB, free: 7.137 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004239/0.4127, allocations: 228.7 kB / 1.336 GB, free: 6.895 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.803e-05/0.4128, allocations: 35.75 kB / 1.336 GB, free: 6.859 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.702e-05/0.4129, allocations: 11.98 kB / 1.336 GB, free: 6.848 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.413, allocations: 8 kB / 1.336 GB, free: 6.84 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.15e-05/0.4131, allocations: 19.97 kB / 1.336 GB, free: 6.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.4131, allocations: 4 kB / 1.336 GB, free: 6.816 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003689/0.4134, allocations: 331.1 kB / 1.336 GB, free: 6.496 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4134, allocations: 0 / 1.336 GB, free: 6.496 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003304/0.4138, allocations: 63.89 kB / 1.336 GB, free: 6.434 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: 9 ($whenCondition2,$whenCondition1,intEqu.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002331/0.4161, allocations: 1.11 MB / 1.337 GB, free: 5.48 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004466/0.4165, allocations: 192.6 kB / 1.338 GB, free: 5.293 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4166, allocations: 0 / 1.338 GB, free: 5.293 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.4167, allocations: 67.91 kB / 1.338 GB, free: 5.227 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004888/0.4172, allocations: 98.52 kB / 1.338 GB, free: 5.145 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004189/0.4214, allocations: 3.229 MB / 1.341 GB, free: 1.824 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001921/0.4216, allocations: 187.8 kB / 1.341 GB, free: 1.621 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001682/0.4218, allocations: 62.92 kB / 1.341 GB, free: 1.559 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001928/0.4219, allocations: 115.4 kB / 1.341 GB, free: 1.449 MB / 1.029 GB Notification: Performance of SimCode: time 1.002e-06/0.4219, allocations: 0 / 1.341 GB, free: 1.449 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0406/0.4626, allocations: 8.375 MB / 1.349 GB, free: 9.176 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.88, allocations: 9.609 kB / 1.349 GB, free: 9.168 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Equal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Equal.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.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.673866013006773]