Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_latest_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.0008025/0.0008026, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.005744/0.005745, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.36/1.36, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.717/2.717, allocations: 462.6 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003654/0.0003653, allocations: 13.06 kB / 0.9029 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3321, allocations: 159.6 MB / 1.059 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001167/0.3334, allocations: 0.5752 MB / 1.059 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001905/0.3353, allocations: 1.338 MB / 1.061 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.855e-05/0.3354, allocations: 0 / 1.061 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001245/0.3356, allocations: 11.86 kB / 1.061 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.3357, allocations: 27.84 kB / 1.061 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000792/0.3365, allocations: 237 kB / 1.061 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003951/0.3369, allocations: 287.5 kB / 1.061 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001809/0.3371, allocations: 57.45 kB / 1.061 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002217/0.3373, allocations: 103.7 kB / 1.061 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000281/0.3376, allocations: 111.5 kB / 1.061 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.279e-05/0.3377, allocations: 8 kB / 1.061 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.949e-05/0.3378, allocations: 23.98 kB / 1.061 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.77e-05/0.3378, allocations: 31.86 kB / 1.062 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001365/0.338, allocations: 125.2 kB / 1.062 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003307/0.3383, allocations: 307.2 kB / 1.062 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3383, allocations: 3.938 kB / 1.062 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3383, allocations: 0 / 1.062 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.106e-06/0.3383, allocations: 0 / 1.062 GB, free: 1.605 MB / 0.8106 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.0006955/0.339, allocations: 0.4904 MB / 1.062 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.3391, allocations: 15.97 kB / 1.062 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.931e-05/0.3391, allocations: 42.73 kB / 1.062 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.618e-05/0.3393, allocations: 28.66 kB / 1.062 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006787/0.3399, allocations: 300 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.064e-05/0.34, allocations: 12.38 kB / 1.063 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.417e-05/0.34, allocations: 16.31 kB / 1.063 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002465/0.3403, allocations: 155.3 kB / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.3403, allocations: 7.938 kB / 1.063 GB, free: 432 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.3403, allocations: 4 kB / 1.063 GB, free: 428 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.3403, allocations: 4 kB / 1.063 GB, free: 424 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.3405, allocations: 59.91 kB / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008819/0.3414, allocations: 0.7545 MB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.3415, allocations: 61.23 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.627e-05/0.3415, allocations: 29.77 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.255e-06/0.3416, allocations: 4 kB / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001965/0.3418, allocations: 97.02 kB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.3418, allocations: 0 / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0003009/0.3421, allocations: 125.4 kB / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.3421, allocations: 89.09 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002108/0.3424, allocations: 215.6 kB / 1.064 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.093e-05/0.3424, allocations: 29.7 kB / 1.064 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.3425, allocations: 143.8 kB / 1.065 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.3426, allocations: 15.81 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.726e-05/0.3426, allocations: 33.7 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.3428, allocations: 330.8 kB / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.3429, allocations: 63.95 kB / 1.065 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001781/0.3431, allocations: 122.8 kB / 1.065 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002741/0.3434, allocations: 202.1 kB / 1.065 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3434, allocations: 0 / 1.065 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004537/0.3438, allocations: 288.6 kB / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.921e-05/0.3439, allocations: 67.39 kB / 1.066 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.3439, allocations: 0 / 1.066 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.3439, allocations: 8.188 kB / 1.066 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.725e-05/0.344, allocations: 8 kB / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.344, allocations: 7.938 kB / 1.066 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003438/0.3444, allocations: 79.78 kB / 1.066 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.035e-05/0.3444, allocations: 15.98 kB / 1.066 GB, free: 13.35 MB / 0.8262 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.0001497/0.3446, allocations: 146.2 kB / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.3446, allocations: 15.75 kB / 1.066 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.941e-05/0.3446, allocations: 20.92 kB / 1.066 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3446, allocations: 7.984 kB / 1.066 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.3447, allocations: 0 / 1.066 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.3447, allocations: 0 / 1.066 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001966/0.3449, allocations: 237.5 kB / 1.066 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3449, allocations: 0 / 1.066 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.153e-05/0.3449, allocations: 7.938 kB / 1.066 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.3449, allocations: 4 kB / 1.066 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.3449, allocations: 7.922 kB / 1.066 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3449, allocations: 0 / 1.066 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.345, allocations: 0 / 1.066 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/0.3451, allocations: 137.7 kB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.658e-05/0.3452, allocations: 88.92 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.3452, allocations: 8 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.334e-05/0.3453, allocations: 7.984 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.167e-05/0.3453, allocations: 4 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.3453, allocations: 4 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001125/0.3454, allocations: 149.5 kB / 1.067 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3454, allocations: 8 kB / 1.067 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002646/0.3457, allocations: 39.84 kB / 1.067 GB, free: 12.38 MB / 0.8262 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.0004763/0.3462, allocations: 0.6851 MB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000354/0.3465, allocations: 258.8 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3466, allocations: 0 / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.582e-05/0.3466, allocations: 31.98 kB / 1.068 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.3469, allocations: 30.52 kB / 1.068 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002559/0.3495, allocations: 2.203 MB / 1.07 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.3498, allocations: 0.7244 MB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.414e-05/0.3499, allocations: 25.53 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.607e-05/0.35, allocations: 55.42 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of SimCode: time 6.22e-07/0.35, allocations: 0 / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01536/0.3653, allocations: 3.896 MB / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002005/0.3656, allocations: 229.8 kB / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.804/2.169, allocations: 1.125 kB / 1.074 GB, free: 4.199 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches