Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.001802/0.001802, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00187/0.00187, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.495/1.495, allocations: 230.6 MB / 256 MB, free: 7.785 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.252/3.252, allocations: 0.4892 GB / 0.7943 GB, free: 35.43 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.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",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.002123/0.002123, allocations: 73.98 kB / 1.153 GB, free: 25.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3863, allocations: 176.1 MB / 1.325 GB, free: 2.363 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002366/0.3886, allocations: 0.857 MB / 1.326 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002035/0.3907, allocations: 1.319 MB / 1.327 GB, free: 184 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.215e-05/0.3907, allocations: 0 / 1.327 GB, free: 184 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001327/0.3909, allocations: 23.73 kB / 1.327 GB, free: 160 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.418e-05/0.391, allocations: 27.8 kB / 1.327 GB, free: 132 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008379/0.3918, allocations: 265.8 kB / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004363/0.3922, allocations: 335.2 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001807/0.3924, allocations: 29.67 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000195/0.3926, allocations: 131.8 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002113/0.3928, allocations: 99.56 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.158e-05/0.3929, allocations: 28 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.393, allocations: 51.98 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.879e-05/0.3931, allocations: 43.84 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001482/0.3933, allocations: 107.5 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005029/0.3938, allocations: 346.8 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3938, allocations: 0 / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.414e-06/0.3938, allocations: 0 / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.323e-05/0.3938, allocations: 3.938 kB / 1.329 GB, free: 14.71 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0009411/0.3947, allocations: 485.9 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.3948, allocations: 8.031 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.694e-05/0.3949, allocations: 50.67 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003642/0.3952, allocations: 60.8 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006756/0.3959, allocations: 238.6 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/0.3959, allocations: 12.38 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.244e-05/0.396, allocations: 20.38 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003058/0.3963, allocations: 161.2 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.3963, allocations: 0 / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.3963, allocations: 0 / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.3963, allocations: 4 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001428/0.3965, allocations: 67.91 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009987/0.3975, allocations: 0.6797 MB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.3976, allocations: 53.25 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.694e-05/0.3976, allocations: 25.77 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.3976, allocations: 3.938 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002192/0.3979, allocations: 117 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.3979, allocations: 0 / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0003326/0.3982, allocations: 137.4 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.594e-05/0.3983, allocations: 81.11 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/0.3985, allocations: 207.8 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.94e-05/0.3985, allocations: 33.7 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.3987, allocations: 144.3 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.3987, allocations: 19.84 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.3988, allocations: 65.62 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.399, allocations: 330.8 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/0.3991, allocations: 127.4 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002622/0.3994, allocations: 243.3 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002628/0.3997, allocations: 202.2 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3997, allocations: 0 / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005808/0.4003, allocations: 364.1 kB / 1.332 GB, free: 10.45 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.79e-05/0.4003, allocations: 69.14 kB / 1.332 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.4003, allocations: 8 kB / 1.332 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.4003, allocations: 0 / 1.332 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.295e-05/0.4004, allocations: 8 kB / 1.332 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.4004, allocations: 7.938 kB / 1.332 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003604/0.4008, allocations: 51.89 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.066e-05/0.4008, allocations: 23.98 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],conInt3.y,conInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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.0001879/0.401, allocations: 156 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.259e-05/0.4011, allocations: 11.91 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.17e-05/0.4011, allocations: 21.02 kB / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.4011, allocations: 0 / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.4011, allocations: 0 / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.4011, allocations: 0 / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000247/0.4014, allocations: 200.6 kB / 1.333 GB, free: 9.844 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4014, allocations: 0 / 1.333 GB, free: 9.844 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.693e-05/0.4014, allocations: 4 kB / 1.333 GB, free: 9.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.4014, allocations: 0 / 1.333 GB, free: 9.84 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.4014, allocations: 7.938 kB / 1.333 GB, free: 9.832 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.4014, allocations: 4 kB / 1.333 GB, free: 9.828 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4014, allocations: 3.938 kB / 1.333 GB, free: 9.824 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002171/0.4016, allocations: 133.8 kB / 1.333 GB, free: 9.672 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.068e-05/0.4017, allocations: 15.89 kB / 1.333 GB, free: 9.656 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.4017, allocations: 8 kB / 1.333 GB, free: 9.648 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.131e-05/0.4017, allocations: 0 / 1.333 GB, free: 9.648 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.633e-05/0.4018, allocations: 7.984 kB / 1.333 GB, free: 9.641 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.4018, allocations: 7.938 kB / 1.333 GB, free: 9.633 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001451/0.4019, allocations: 141.5 kB / 1.333 GB, free: 9.496 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4019, allocations: 0 / 1.333 GB, free: 9.496 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000278/0.4022, allocations: 51.89 kB / 1.333 GB, free: 9.445 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005726/0.4028, allocations: 0.6795 MB / 1.334 GB, free: 8.73 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004471/0.4032, allocations: 302 kB / 1.334 GB, free: 8.398 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.4032, allocations: 0 / 1.334 GB, free: 8.398 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.895e-05/0.4033, allocations: 28.73 kB / 1.334 GB, free: 8.371 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.4036, allocations: 36.34 kB / 1.334 GB, free: 8.336 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002995/0.4066, allocations: 2.441 MB / 1.337 GB, free: 5.699 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.4067, allocations: 123.6 kB / 1.337 GB, free: 5.562 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.576e-05/0.4068, allocations: 17.48 kB / 1.337 GB, free: 5.543 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.626e-05/0.4069, allocations: 55.41 kB / 1.337 GB, free: 5.488 MB / 1.029 GB Notification: Performance of SimCode: time 6.01e-07/0.4069, allocations: 0 / 1.337 GB, free: 5.488 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03393/0.4408, allocations: 5.084 MB / 1.342 GB, free: 0.6094 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.98, allocations: 5.766 kB / 1.342 GB, free: 0.6055 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.828782790806144]