Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Equal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",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.004965/0.004965, allocations: 99.34 kB / 15.73 MB, free: 6.039 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.002007/0.002007, allocations: 199.6 kB / 16.68 MB, free: 5.961 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.689/2.689, allocations: 482.6 MB / 0.755 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 67.91 kB / 1.083 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2816, allocations: 162.3 MB / 1.242 GB, free: 9.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003038/0.2846, allocations: 1.997 MB / 1.244 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001723/0.2864, allocations: 1.196 MB / 1.245 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.464e-05/0.2865, allocations: 11.94 kB / 1.245 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003539/0.2868, allocations: 159.4 kB / 1.245 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002905/0.2871, allocations: 151.4 kB / 1.245 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004574/0.2876, allocations: 221.7 kB / 1.246 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003418/0.2879, allocations: 319.2 kB / 1.246 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.2881, allocations: 44.39 kB / 1.246 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001781/0.2883, allocations: 143.4 kB / 1.246 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001815/0.2884, allocations: 147.4 kB / 1.246 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.362e-05/0.2885, allocations: 16 kB / 1.246 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.2886, allocations: 63.95 kB / 1.246 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.736e-05/0.2887, allocations: 83.69 kB / 1.246 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.2888, allocations: 123.1 kB / 1.246 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003914/0.2892, allocations: 370.4 kB / 1.247 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.2892, allocations: 0 / 1.247 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2893, allocations: 0 / 1.247 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.2893, allocations: 0 / 1.247 GB, free: 4.723 MB / 0.9981 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.0008305/0.2901, allocations: 0.63 MB / 1.247 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.2901, allocations: 12.03 kB / 1.247 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.071e-05/0.2902, allocations: 42.73 kB / 1.247 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.2e-05/0.2902, allocations: 36.7 kB / 1.247 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004544/0.2907, allocations: 378.1 kB / 1.248 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.2907, allocations: 8 kB / 1.248 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.2908, allocations: 12 kB / 1.248 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002169/0.291, allocations: 97.62 kB / 1.248 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.291, allocations: 4 kB / 1.248 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/0.291, allocations: 19.91 kB / 1.248 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.291, allocations: 4 kB / 1.248 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001614/0.2912, allocations: 59.91 kB / 1.248 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000703/0.2919, allocations: 0.4925 MB / 1.249 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003214/0.2922, allocations: 138.7 kB / 1.249 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.2924, allocations: 48.83 kB / 1.249 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.2924, allocations: 0 / 1.249 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002158/0.2926, allocations: 119.2 kB / 1.249 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.2926, allocations: 0 / 1.249 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0004911/0.2931, allocations: 227.7 kB / 1.249 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.2932, allocations: 55.41 kB / 1.249 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005399/0.2937, allocations: 0.5093 MB / 1.25 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.2937, allocations: 25.7 kB / 1.25 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.2939, allocations: 164.5 kB / 1.25 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.124e-05/0.2939, allocations: 43.72 kB / 1.25 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.294, allocations: 69.92 kB / 1.25 GB, free: 1.336 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.2942, allocations: 346.8 kB / 1.25 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.2943, allocations: 100.5 kB / 1.25 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002076/0.2946, allocations: 135.6 kB / 1.25 GB, free: 0.75 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003114/0.2949, allocations: 178.5 kB / 1.251 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.2949, allocations: 4 kB / 1.251 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005335/0.2954, allocations: 325.3 kB / 1.251 GB, free: 244 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.2955, allocations: 9.656 kB / 1.251 GB, free: 236 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2955, allocations: 4 kB / 1.251 GB, free: 232 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.474e-06/0.2955, allocations: 0 / 1.251 GB, free: 232 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.2957, allocations: 55.91 kB / 1.251 GB, free: 176 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.2957, allocations: 0 / 1.251 GB, free: 176 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.2958, allocations: 19.89 kB / 1.251 GB, free: 156 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/0.2958, allocations: 11.98 kB / 1.251 GB, free: 144 kB / 0.9981 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.4641/0.7599, allocations: 175.6 kB / 1.251 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.03e-05/0.76, allocations: 37.33 kB / 1.251 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.121e-05/0.7601, allocations: 36.34 kB / 1.251 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.7601, allocations: 2.062 kB / 1.251 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.7601, allocations: 1.781 kB / 1.251 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.7602, allocations: 1.781 kB / 1.251 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002362/0.7604, allocations: 298.4 kB / 1.252 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.7604, allocations: 2.594 kB / 1.252 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.503e-05/0.7605, allocations: 15.92 kB / 1.252 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.7605, allocations: 1 kB / 1.252 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.7605, allocations: 9 kB / 1.252 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.7605, allocations: 2.188 kB / 1.252 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.7605, allocations: 0.875 kB / 1.252 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003413/0.7609, allocations: 214.7 kB / 1.252 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.938e-05/0.7609, allocations: 114.3 kB / 1.252 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.954e-05/0.761, allocations: 6.406 kB / 1.252 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.389e-05/0.7611, allocations: 7.953 kB / 1.252 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.416e-05/0.7611, allocations: 23.73 kB / 1.252 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.7612, allocations: 7.062 kB / 1.252 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003094/0.7615, allocations: 313.7 kB / 1.252 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7615, allocations: 1.75 kB / 1.252 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002892/0.7618, allocations: 61.62 kB / 1.252 GB, free: 14.09 MB / 0.9981 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 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.001718/0.7635, allocations: 1.069 MB / 1.253 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003758/0.7639, allocations: 191.3 kB / 1.253 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.7639, allocations: 0.5312 kB / 1.253 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.764, allocations: 60.69 kB / 1.254 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004097/0.7645, allocations: 99.69 kB / 1.254 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003105/0.7676, allocations: 3.117 MB / 1.257 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001872/0.7678, allocations: 0.7893 MB / 1.257 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000122/0.7679, allocations: 52.84 kB / 1.258 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.768, allocations: 103.5 kB / 1.258 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of SimCode: time 3e-07/0.768, allocations: 0 / 1.258 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.268/3.036, allocations: 7.161 MB / 1.265 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.89/23.93, allocations: 7.672 kB / 1.265 GB, free: 10.28 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Equal_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Equal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches