Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.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.Routing.Validation.IntegerVectorFilter,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter",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.001443/0.001448, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001816/0.001816, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.353/1.353, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.282/2.282, allocations: 390.3 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 71.88 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6438/0.6451, allocations: 140.4 MB / 0.9497 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.001709/0.6469, allocations: 0.5912 MB / 0.9503 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003218/0.6472, allocations: 118.4 kB / 0.9504 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.653e-05/0.6473, allocations: 0 / 0.9504 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001029/0.6474, allocations: 5.594 kB / 0.9504 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003442/0.6477, allocations: 27.25 kB / 0.9505 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.119e-05/0.6478, allocations: 5.344 kB / 0.9505 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.438e-05/0.6479, allocations: 28.7 kB / 0.9505 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.648, allocations: 23.48 kB / 0.9505 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.6481, allocations: 52.58 kB / 0.9506 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.546e-05/0.6481, allocations: 16.05 kB / 0.9506 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.6482, allocations: 2.75 kB / 0.9506 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.238e-06/0.6482, allocations: 2.75 kB / 0.9506 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.562e-05/0.6482, allocations: 17.42 kB / 0.9506 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.692e-05/0.6483, allocations: 16 kB / 0.9506 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.975e-05/0.6483, allocations: 52.19 kB / 0.9507 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.6483, allocations: 1.375 kB / 0.9507 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6483, allocations: 0 / 0.9507 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.6484, allocations: 0 / 0.9507 GB, free: 8.496 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002388/0.6486, allocations: 356.7 kB / 0.951 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.6486, allocations: 9.625 kB / 0.951 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.546e-05/0.6487, allocations: 40.11 kB / 0.9511 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.617e-05/0.6487, allocations: 7.594 kB / 0.9511 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.6488, allocations: 177.9 kB / 0.9512 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.6488, allocations: 5.75 kB / 0.9512 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.6489, allocations: 7.125 kB / 0.9512 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.649, allocations: 80.62 kB / 0.9513 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.649, allocations: 1.375 kB / 0.9513 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.703e-06/0.649, allocations: 0 / 0.9513 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.649, allocations: 1.375 kB / 0.9513 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.979e-05/0.6491, allocations: 37.59 kB / 0.9514 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003061/0.6494, allocations: 0.5941 MB / 0.9519 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.995e-05/0.6494, allocations: 178.5 kB / 0.9521 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.487e-05/0.6494, allocations: 84.17 kB / 0.9522 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.6495, allocations: 80.34 kB / 0.9523 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.6495, allocations: 107.2 kB / 0.9524 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.6495, allocations: 3.938 kB / 0.9524 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.064e-05/0.6496, allocations: 36.08 kB / 0.9524 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/0.6496, allocations: 132 kB / 0.9525 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.77e-05/0.6497, allocations: 156 kB / 0.9527 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.584e-06/0.6497, allocations: 29.69 kB / 0.9527 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.911e-05/0.6497, allocations: 95.67 kB / 0.9528 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.243e-06/0.6497, allocations: 0 / 0.9528 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.943e-05/0.6498, allocations: 11.47 kB / 0.9528 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.983e-05/0.6498, allocations: 320.8 kB / 0.9531 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.637e-06/0.6498, allocations: 1.406 kB / 0.9531 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.613e-05/0.6498, allocations: 1.344 kB / 0.9531 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.229e-05/0.6499, allocations: 76.88 kB / 0.9532 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/0.6499, allocations: 79.28 kB / 0.9533 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.818e-05/0.6499, allocations: 38.39 kB / 0.9533 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.6499, allocations: 83.81 kB / 0.9534 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.65, allocations: 76.94 kB / 0.9535 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.694e-05/0.65, allocations: 156.2 kB / 0.9536 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-05/0.65, allocations: 83.16 kB / 0.9537 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.842e-05/0.65, allocations: 151.6 kB / 0.9538 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.6501, allocations: 86.92 kB / 0.9539 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.6502, allocations: 76.38 kB / 0.954 GB, free: 5.012 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 8.328e-05/0.6503, allocations: 270.8 kB / 0.9542 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.414e-05/0.6503, allocations: 107.9 kB / 0.9543 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.347e-05/0.6504, allocations: 123.5 kB / 0.9545 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-05/0.6504, allocations: 181.3 kB / 0.9546 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.47e-05/0.6504, allocations: 186.2 kB / 0.9548 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-05/0.6504, allocations: 176.3 kB / 0.955 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.6506, allocations: 426.3 kB / 0.9554 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/0.6506, allocations: 106.5 kB / 0.9555 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.316e-05/0.6506, allocations: 101 kB / 0.9556 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.216e-05/0.6506, allocations: 189.4 kB / 0.9558 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.551e-05/0.6507, allocations: 185.6 kB / 0.9559 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.238e-05/0.6507, allocations: 180.5 kB / 0.9561 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.237e-05/0.6507, allocations: 181.7 kB / 0.9563 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.26e-05/0.6508, allocations: 317.4 kB / 0.9566 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.554e-05/0.6508, allocations: 186.3 kB / 0.9568 GB, free: 2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.274e-05/0.6509, allocations: 176.3 kB / 0.9569 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.151e-05/0.6509, allocations: 110 kB / 0.957 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.347e-05/0.651, allocations: 178 kB / 0.9572 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.651, allocations: 108.9 kB / 0.9573 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.183e-05/0.651, allocations: 126.3 kB / 0.9574 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.651, allocations: 0 / 0.9574 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002527/0.6513, allocations: 6.75 kB / 0.9574 GB, free: 1.312 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0002088/0.6515, allocations: 0.8089 MB / 0.9582 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 3.783e-05/0.6516, allocations: 9 kB / 0.9582 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.6516, allocations: 0 / 0.9582 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.803e-06/0.6516, allocations: 1.156 kB / 0.9582 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.6518, allocations: 470.3 kB / 0.9587 GB, free: 32 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.6531, allocations: 1.731 MB / 0.9604 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.6534, allocations: 0.6907 MB / 0.9611 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.542e-05/0.6534, allocations: 3.875 kB / 0.9611 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.592e-05/0.6535, allocations: 12.75 kB / 0.9611 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.6535, allocations: 3.938 kB / 0.9611 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03664/0.6901, allocations: 1.501 MB / 0.9625 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.39/8.081, allocations: 10.81 kB / 0.9626 GB, free: 12.82 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches