Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Equal,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_10_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.01775/0.01775, allocations: 101 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.002289/0.002289, allocations: 195.2 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.779/2.779, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 5.236/5.236, allocations: 437 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.003329/0.003329, allocations: 68.11 kB / 1.018 GB, free: 9.891 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.617/1.621, allocations: 151.6 MB / 1.166 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.007003/1.628, allocations: 2.001 MB / 1.168 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004191/1.632, allocations: 1.201 MB / 1.169 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003212/1.632, allocations: 4 kB / 1.169 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0008505/1.633, allocations: 163.4 kB / 1.169 GB, free: 416 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0008345/1.634, allocations: 155.4 kB / 1.17 GB, free: 260 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00112/1.635, allocations: 223.3 kB / 1.17 GB, free: 40 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0007897/1.636, allocations: 311.2 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002744/1.636, allocations: 56.36 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004508/1.637, allocations: 143.4 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000437/1.637, allocations: 147.4 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.355e-05/1.637, allocations: 12 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003156/1.638, allocations: 55.92 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002088/1.638, allocations: 91.72 kB / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002763/1.638, allocations: 131.1 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009423/1.639, allocations: 370.1 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/1.639, allocations: 0 / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.164e-06/1.639, allocations: 0 / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.101e-05/1.639, allocations: 0 / 1.171 GB, free: 14.75 MB / 0.9044 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.01039/1.65, allocations: 0.6338 MB / 1.172 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 8.968e-05/1.65, allocations: 16.84 kB / 1.172 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001189/1.65, allocations: 38.75 kB / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002267/1.65, allocations: 36.75 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/1.651, allocations: 374.2 kB / 1.172 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.017e-05/1.651, allocations: 8 kB / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.332e-05/1.652, allocations: 8 kB / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004763/1.652, allocations: 112 kB / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/1.652, allocations: 0 / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.883e-05/1.652, allocations: 4 kB / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/1.652, allocations: 4 kB / 1.172 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002667/1.652, allocations: 63.86 kB / 1.172 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001486/1.654, allocations: 496.5 kB / 1.173 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007421/1.655, allocations: 138.7 kB / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002223/1.655, allocations: 44.84 kB / 1.173 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.885e-05/1.655, allocations: 11.88 kB / 1.173 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004603/1.655, allocations: 119.2 kB / 1.173 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=13): time 5.341e-06/1.655, allocations: 0 / 1.173 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13): time 0.001004/1.656, allocations: 219 kB / 1.173 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.237e-05/1.657, allocations: 59.41 kB / 1.173 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00136/1.658, allocations: 0.5093 MB / 1.174 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.981e-05/1.658, allocations: 25.7 kB / 1.174 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002613/1.658, allocations: 168.4 kB / 1.174 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.18e-05/1.658, allocations: 35.78 kB / 1.174 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002168/1.659, allocations: 69.92 kB / 1.174 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002814/1.659, allocations: 350.8 kB / 1.174 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003647/1.659, allocations: 96.52 kB / 1.175 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004207/1.66, allocations: 140.1 kB / 1.175 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006296/1.66, allocations: 174.5 kB / 1.175 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.874e-06/1.66, allocations: 3.984 kB / 1.175 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001152/1.662, allocations: 313.3 kB / 1.175 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.783e-05/1.662, allocations: 16 kB / 1.175 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/1.662, allocations: 0 / 1.175 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.131e-05/1.662, allocations: 4 kB / 1.175 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004496/1.662, allocations: 51.91 kB / 1.175 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.691e-05/1.662, allocations: 4 kB / 1.175 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003268/1.663, allocations: 19.88 kB / 1.175 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-05/1.663, allocations: 8 kB / 1.175 GB, free: 10.19 MB / 0.9044 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.000398/1.663, allocations: 185.7 kB / 1.175 GB, free: 9.996 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/1.663, allocations: 47.69 kB / 1.175 GB, free: 9.949 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001532/1.663, allocations: 43.11 kB / 1.176 GB, free: 9.91 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/1.663, allocations: 0 / 1.176 GB, free: 9.91 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/1.663, allocations: 3.938 kB / 1.176 GB, free: 9.906 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/1.663, allocations: 0 / 1.176 GB, free: 9.906 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005551/1.664, allocations: 297.4 kB / 1.176 GB, free: 9.566 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/1.664, allocations: 0 / 1.176 GB, free: 9.566 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/1.664, allocations: 11.94 kB / 1.176 GB, free: 9.555 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-05/1.664, allocations: 7.938 kB / 1.176 GB, free: 9.547 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.803e-05/1.664, allocations: 7.984 kB / 1.176 GB, free: 9.539 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/1.664, allocations: 0 / 1.176 GB, free: 9.539 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/1.664, allocations: 8 kB / 1.176 GB, free: 9.531 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006846/1.665, allocations: 198.6 kB / 1.176 GB, free: 9.32 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001977/1.665, allocations: 116.8 kB / 1.176 GB, free: 9.188 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.684e-05/1.665, allocations: 4 kB / 1.176 GB, free: 9.184 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/1.665, allocations: 7.984 kB / 1.176 GB, free: 9.176 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/1.666, allocations: 15.98 kB / 1.176 GB, free: 9.16 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.88e-05/1.666, allocations: 11.98 kB / 1.176 GB, free: 9.148 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0007569/1.666, allocations: 323.1 kB / 1.177 GB, free: 8.836 MB / 0.9044 GB Notification: Performance of sort global known variables: time 5.01e-07/1.666, allocations: 0 / 1.177 GB, free: 8.836 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005845/1.667, allocations: 63.88 kB / 1.177 GB, free: 8.773 MB / 0.9044 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.003974/1.671, allocations: 1.069 MB / 1.178 GB, free: 7.836 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0009016/1.672, allocations: 196 kB / 1.178 GB, free: 7.645 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/1.672, allocations: 0 / 1.178 GB, free: 7.645 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002849/1.672, allocations: 67.95 kB / 1.178 GB, free: 7.578 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/1.673, allocations: 91.06 kB / 1.178 GB, free: 7.5 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007233/1.681, allocations: 3.112 MB / 1.181 GB, free: 4.293 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008867/1.689, allocations: 0.7909 MB / 1.182 GB, free: 3.477 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0004779/1.69, allocations: 54.94 kB / 1.182 GB, free: 3.426 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004087/1.69, allocations: 107.4 kB / 1.182 GB, free: 3.32 MB / 0.9044 GB Notification: Performance of SimCode: time 1.703e-06/1.691, allocations: 3.938 kB / 1.182 GB, free: 3.316 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1309/1.821, allocations: 7.149 MB / 1.189 GB, free: 12.26 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.69/20.51, allocations: 0.875 kB / 1.189 GB, free: 12.26 MB / 0.92 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Equal.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches