Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001892/0.001892, allocations: 108.6 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002357/0.002357, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.604/2.604, allocations: 443.5 MB / 0.7287 GB, free: 13.23 MB / 0.5919 GB " [Timeout remaining time 177] 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.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002234/0.002234, allocations: 79.88 kB / 1.056 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8939/0.8962, allocations: 160.7 MB / 1.213 GB, free: 3.949 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002349/0.8985, allocations: 0.8891 MB / 1.214 GB, free: 3.277 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002065/0.9006, allocations: 1.299 MB / 1.215 GB, free: 2.23 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.9007, allocations: 1.062 kB / 1.215 GB, free: 2.23 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.9008, allocations: 20.89 kB / 1.215 GB, free: 2.211 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001058/0.9009, allocations: 33.94 kB / 1.215 GB, free: 2.184 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008427/0.9018, allocations: 269 kB / 1.215 GB, free: 1.996 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005016/0.9023, allocations: 332.7 kB / 1.216 GB, free: 1.797 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/0.9025, allocations: 47.19 kB / 1.216 GB, free: 1.762 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000232/0.9027, allocations: 134.2 kB / 1.216 GB, free: 1.684 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002262/0.9029, allocations: 102.4 kB / 1.216 GB, free: 1.609 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.72e-05/0.903, allocations: 29.78 kB / 1.216 GB, free: 1.609 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.9031, allocations: 56.3 kB / 1.216 GB, free: 1.594 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.234e-05/0.9032, allocations: 46.61 kB / 1.216 GB, free: 1.562 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001769/0.9034, allocations: 114 kB / 1.216 GB, free: 1.48 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004749/0.9039, allocations: 346.4 kB / 1.217 GB, free: 1.219 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.9039, allocations: 5.25 kB / 1.217 GB, free: 1.215 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9039, allocations: 0 / 1.217 GB, free: 1.215 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.351e-05/0.9039, allocations: 0 / 1.217 GB, free: 1.215 MB / 0.92 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.0008541/0.9047, allocations: 0.5589 MB / 1.217 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.9048, allocations: 10.53 kB / 1.217 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.955e-05/0.9048, allocations: 42.98 kB / 1.217 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.835e-05/0.9049, allocations: 26.64 kB / 1.217 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000717/0.9056, allocations: 307.2 kB / 1.217 GB, free: 320 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.9056, allocations: 14 kB / 1.217 GB, free: 316 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.979e-05/0.9057, allocations: 18.75 kB / 1.217 GB, free: 312 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002475/0.9059, allocations: 153.2 kB / 1.218 GB, free: 188 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.9059, allocations: 1.156 kB / 1.218 GB, free: 188 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.906, allocations: 5.281 kB / 1.218 GB, free: 184 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.906, allocations: 2.5 kB / 1.218 GB, free: 184 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.9061, allocations: 66.28 kB / 1.218 GB, free: 152 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00099/0.9071, allocations: 0.7575 MB / 1.218 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.9072, allocations: 54.22 kB / 1.218 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.517e-05/0.9072, allocations: 23.89 kB / 1.218 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.9073, allocations: 9.078 kB / 1.219 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002303/0.9075, allocations: 101.8 kB / 1.219 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.9075, allocations: 0 / 1.219 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0003202/0.9078, allocations: 129.7 kB / 1.219 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/0.9079, allocations: 79.14 kB / 1.219 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/0.9081, allocations: 208.9 kB / 1.219 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.268e-05/0.9081, allocations: 38.7 kB / 1.219 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.9083, allocations: 149.9 kB / 1.219 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.9083, allocations: 15.02 kB / 1.219 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.9084, allocations: 69.23 kB / 1.219 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.9086, allocations: 334.2 kB / 1.22 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.9087, allocations: 68.83 kB / 1.22 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/0.9089, allocations: 132 kB / 1.22 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/0.9092, allocations: 199 kB / 1.22 GB, free: 14 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.9092, allocations: 0 / 1.22 GB, free: 14 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005135/0.9097, allocations: 298.8 kB / 1.22 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.666e-05/0.9098, allocations: 62.78 kB / 1.22 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.9098, allocations: 2.031 kB / 1.22 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.9098, allocations: 3.469 kB / 1.22 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.804e-05/0.9099, allocations: 18.92 kB / 1.22 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.9099, allocations: 2.312 kB / 1.22 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004223/0.9103, allocations: 77.38 kB / 1.22 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.323e-05/0.9103, allocations: 14.05 kB / 1.22 GB, free: 13.69 MB / 0.9356 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.0001714/0.9105, allocations: 152.3 kB / 1.221 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.781e-05/0.9105, allocations: 14.28 kB / 1.221 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.331e-05/0.9106, allocations: 18.64 kB / 1.221 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.9106, allocations: 1 kB / 1.221 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.9106, allocations: 1.125 kB / 1.221 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.9106, allocations: 4 kB / 1.221 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/0.9108, allocations: 233.9 kB / 1.221 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.9108, allocations: 1.094 kB / 1.221 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.611e-05/0.9109, allocations: 3.375 kB / 1.221 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.9109, allocations: 1.156 kB / 1.221 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.9109, allocations: 1.156 kB / 1.221 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.359e-06/0.9109, allocations: 5.094 kB / 1.221 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.9109, allocations: 1.188 kB / 1.221 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001992/0.9111, allocations: 144.6 kB / 1.221 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.632e-05/0.9111, allocations: 93.19 kB / 1.221 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.9112, allocations: 5.062 kB / 1.221 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.178e-05/0.9112, allocations: 1.969 kB / 1.221 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.333e-05/0.9112, allocations: 11.08 kB / 1.221 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.9112, allocations: 3.219 kB / 1.221 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001335/0.9114, allocations: 143.6 kB / 1.221 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.9114, allocations: 0 / 1.221 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002864/0.9117, allocations: 44.58 kB / 1.221 GB, free: 12.93 MB / 0.9356 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.0005869/0.9122, allocations: 0.6861 MB / 1.222 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003899/0.9126, allocations: 228.7 kB / 1.222 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.9126, allocations: 4.125 kB / 1.222 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.868e-05/0.9127, allocations: 27.64 kB / 1.222 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.913, allocations: 36.66 kB / 1.222 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002827/0.9158, allocations: 2.189 MB / 1.224 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000454/0.9163, allocations: 0.7315 MB / 1.225 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.193e-05/0.9164, allocations: 22.23 kB / 1.225 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.734e-05/0.9164, allocations: 50.77 kB / 1.225 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of SimCode: time 1.042e-06/0.9164, allocations: 1.188 kB / 1.225 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02852/0.945, allocations: 4.404 MB / 1.229 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.372/9.317, allocations: 11.28 kB / 1.229 GB, free: 6.785 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 15.271618445869535]