Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) 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.IntegerExtractSignal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",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.001169/0.001169, allocations: 108 kB / 15.6 MB, free: 132 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.00121/0.001209, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.38/1.38, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.313/2.313, allocations: 390.2 MB / 0.6647 GB, free: 420 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 67.89 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.602/0.6035, allocations: 140.4 MB / 0.9497 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001922/0.6054, allocations: 0.8661 MB / 0.9506 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001239/0.6067, allocations: 1.297 MB / 0.9518 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.086e-05/0.6068, allocations: 1.344 kB / 0.9518 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.6069, allocations: 17.05 kB / 0.9519 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.607e-05/0.607, allocations: 31.5 kB / 0.9519 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006736/0.6076, allocations: 267.5 kB / 0.9521 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003059/0.608, allocations: 338 kB / 0.9525 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001677/0.6081, allocations: 60.03 kB / 0.9525 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.6083, allocations: 134.4 kB / 0.9526 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002536/0.6086, allocations: 112.7 kB / 0.9528 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.557e-05/0.6086, allocations: 28.97 kB / 0.9528 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.648e-05/0.6087, allocations: 39.73 kB / 0.9528 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.733e-05/0.6088, allocations: 49.77 kB / 0.9529 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.6089, allocations: 116.6 kB / 0.953 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000262/0.6092, allocations: 327.9 kB / 0.9533 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.6092, allocations: 4.969 kB / 0.9533 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.954e-06/0.6092, allocations: 0 / 0.9533 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.6092, allocations: 0 / 0.9533 GB, free: 6.477 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005809/0.6098, allocations: 0.5445 MB / 0.9538 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.6099, allocations: 9.438 kB / 0.9538 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.269e-05/0.6099, allocations: 38.47 kB / 0.9539 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.982e-05/0.61, allocations: 34.33 kB / 0.9539 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005841/0.6106, allocations: 309.8 kB / 0.9542 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.6106, allocations: 11.78 kB / 0.9542 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.971e-05/0.6106, allocations: 18.81 kB / 0.9542 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.6108, allocations: 153 kB / 0.9544 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.6108, allocations: 0 / 0.9544 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.6109, allocations: 10.08 kB / 0.9544 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.6109, allocations: 3 kB / 0.9544 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.611, allocations: 66.16 kB / 0.9545 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000575/0.6116, allocations: 0.7525 MB / 0.9552 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.013e-05/0.6116, allocations: 55.48 kB / 0.9552 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.126e-05/0.6117, allocations: 20.97 kB / 0.9553 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/0.6117, allocations: 5.281 kB / 0.9553 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001617/0.6119, allocations: 105.7 kB / 0.9554 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.113e-06/0.6119, allocations: 0 / 0.9554 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0002576/0.6121, allocations: 125.8 kB / 0.9555 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.6122, allocations: 82.64 kB / 0.9556 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.6124, allocations: 212.3 kB / 0.9558 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.6124, allocations: 31.08 kB / 0.9558 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.497e-05/0.6125, allocations: 144.3 kB / 0.9559 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.42e-05/0.6125, allocations: 19.36 kB / 0.956 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.842e-05/0.6126, allocations: 63.09 kB / 0.956 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.398e-05/0.6127, allocations: 337.6 kB / 0.9563 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.6128, allocations: 60.53 kB / 0.9564 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.6129, allocations: 128 kB / 0.9565 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000206/0.6131, allocations: 188.2 kB / 0.9567 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.6132, allocations: 1.344 kB / 0.9567 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004284/0.6136, allocations: 295 kB / 0.957 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.945e-05/0.6136, allocations: 64.92 kB / 0.957 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.6137, allocations: 2.5 kB / 0.957 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.6137, allocations: 2.656 kB / 0.957 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.424e-05/0.6137, allocations: 19.8 kB / 0.9571 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.6138, allocations: 1.375 kB / 0.9571 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003081/0.6141, allocations: 53.12 kB / 0.9571 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.1e-05/0.6141, allocations: 11 kB / 0.9571 GB, free: 3.016 MB / 0.7169 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.0001224/0.6142, allocations: 153.9 kB / 0.9573 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.287e-05/0.6143, allocations: 14.59 kB / 0.9573 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.801e-05/0.6143, allocations: 22.91 kB / 0.9573 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.6143, allocations: 0.875 kB / 0.9573 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.6143, allocations: 1.031 kB / 0.9573 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.6143, allocations: 4.875 kB / 0.9573 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.6145, allocations: 232.8 kB / 0.9575 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.6145, allocations: 1.094 kB / 0.9575 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.511e-05/0.6145, allocations: 11.66 kB / 0.9576 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.6145, allocations: 1.594 kB / 0.9576 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.679e-06/0.6146, allocations: 5.5 kB / 0.9576 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.6146, allocations: 1.375 kB / 0.9576 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.6146, allocations: 0 / 0.9576 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/0.6147, allocations: 133.3 kB / 0.9577 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.99e-05/0.6148, allocations: 88.52 kB / 0.9578 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.6148, allocations: 9.391 kB / 0.9578 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.854e-05/0.6148, allocations: 9.625 kB / 0.9578 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.066e-05/0.6148, allocations: 3.531 kB / 0.9578 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.6149, allocations: 6.516 kB / 0.9578 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.018e-05/0.615, allocations: 152.9 kB / 0.9579 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.615, allocations: 3.938 kB / 0.9579 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002557/0.6152, allocations: 46.62 kB / 0.958 GB, free: 2.238 MB / 0.7169 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.0003462/0.6156, allocations: 0.6765 MB / 0.9587 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003273/0.6159, allocations: 260.4 kB / 0.9589 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6159, allocations: 0 / 0.9589 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.431e-05/0.616, allocations: 30.98 kB / 0.9589 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.6163, allocations: 41.5 kB / 0.959 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/0.6186, allocations: 2.159 MB / 0.9611 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.6189, allocations: 0.7272 MB / 0.9618 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.402e-05/0.619, allocations: 22.03 kB / 0.9618 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.069e-05/0.6191, allocations: 51.2 kB / 0.9619 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of SimCode: time 4.41e-07/0.6191, allocations: 0 / 0.9619 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07578/0.6949, allocations: 4.17 MB / 0.9659 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.462/8.157, allocations: 10.17 kB / 0.9659 GB, free: 12.71 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches