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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001446/0.001446, 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.001885/0.001885, allocations: 194.5 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.444/1.444, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.625/2.625, allocations: 437.1 MB / 0.7104 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 67.91 kB / 0.8694 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6119/0.6134, allocations: 151.6 MB / 1.017 GB, free: 2.496 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002293/0.6158, allocations: 0.8693 MB / 1.018 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001896/0.6177, allocations: 1.311 MB / 1.02 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.6178, allocations: 0 / 1.02 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001417/0.618, allocations: 11.81 kB / 1.02 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.586e-05/0.6181, allocations: 27.73 kB / 1.02 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008886/0.619, allocations: 251.2 kB / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0004449/0.6195, allocations: 347.4 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000184/0.6197, allocations: 61.39 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001896/0.6199, allocations: 131.7 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002743/0.6201, allocations: 115.6 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.742e-05/0.6202, allocations: 36 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.876e-05/0.6203, allocations: 44 kB / 1.021 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.669e-05/0.6204, allocations: 47.83 kB / 1.021 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.6205, allocations: 115.4 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003455/0.6209, allocations: 325.3 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.6209, allocations: 0 / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6209, allocations: 0 / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.223e-05/0.6209, allocations: 0 / 1.021 GB, free: 14.81 MB / 0.7794 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.0007435/0.6217, allocations: 0.5371 MB / 1.022 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.6217, allocations: 11.97 kB / 1.022 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.785e-05/0.6218, allocations: 50.73 kB / 1.022 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.454e-05/0.6219, allocations: 28.66 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007102/0.6226, allocations: 299.9 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.924e-05/0.6226, allocations: 12.38 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.54e-05/0.6227, allocations: 20.38 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002492/0.6229, allocations: 158.6 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.623, allocations: 0 / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.623, allocations: 4 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.623, allocations: 4 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.6231, allocations: 63.91 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008068/0.624, allocations: 0.7507 MB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.141e-05/0.6241, allocations: 57.14 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.634e-05/0.6241, allocations: 33.7 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.6241, allocations: 0 / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001694/0.6243, allocations: 105.1 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.6243, allocations: 0 / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0002927/0.6246, allocations: 129.4 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/0.6247, allocations: 85.03 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/0.6249, allocations: 212.6 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.37e-05/0.6249, allocations: 33.7 kB / 1.024 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.625, allocations: 143.8 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.6251, allocations: 19.75 kB / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.6252, allocations: 61.67 kB / 1.024 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.6253, allocations: 326.8 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.6255, allocations: 67.97 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.6257, allocations: 114.8 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002214/0.6259, allocations: 194.1 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.6259, allocations: 0 / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004738/0.6264, allocations: 300.7 kB / 1.025 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.846e-05/0.6264, allocations: 63.59 kB / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.6264, allocations: 7.984 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.6265, allocations: 7.938 kB / 1.025 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.172e-05/0.6265, allocations: 8 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.6265, allocations: 0 / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003403/0.6269, allocations: 51.94 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.952e-05/0.6269, allocations: 15.98 kB / 1.025 GB, free: 10.51 MB / 0.7794 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.0001409/0.6271, allocations: 157.6 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/0.6271, allocations: 15.81 kB / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.395e-05/0.6272, allocations: 16.92 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.6272, allocations: 0 / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.6272, allocations: 0 / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.6272, allocations: 4 kB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002224/0.6274, allocations: 229.5 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.6274, allocations: 4 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.726e-05/0.6275, allocations: 15.94 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.6275, allocations: 0 / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.6275, allocations: 0 / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.6275, allocations: 4 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.6275, allocations: 0 / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001694/0.6277, allocations: 141.6 kB / 1.025 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.916e-05/0.6277, allocations: 88.92 kB / 1.025 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.6277, allocations: 4 kB / 1.025 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.936e-05/0.6278, allocations: 0 / 1.025 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/0.6278, allocations: 11.98 kB / 1.025 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.6278, allocations: 4 kB / 1.025 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001127/0.628, allocations: 148.5 kB / 1.026 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.2e-07/0.628, allocations: 0 / 1.026 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000269/0.6282, allocations: 39.84 kB / 1.026 GB, free: 9.547 MB / 0.7794 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.000472/0.6287, allocations: 0.6924 MB / 1.026 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003675/0.6291, allocations: 263.2 kB / 1.027 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.6291, allocations: 0 / 1.027 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.488e-05/0.6292, allocations: 27.94 kB / 1.027 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.6295, allocations: 36.62 kB / 1.027 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002595/0.6321, allocations: 2.147 MB / 1.029 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.6324, allocations: 0.7356 MB / 1.029 GB, free: 5.434 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.101e-05/0.6325, allocations: 21.53 kB / 1.03 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.377e-05/0.6326, allocations: 55.42 kB / 1.03 GB, free: 5.352 MB / 0.7794 GB Notification: Performance of SimCode: time 5.01e-07/0.6326, allocations: 0 / 1.03 GB, free: 5.352 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0966/0.7292, allocations: 4.178 MB / 1.034 GB, free: 1.328 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.915/8.644, allocations: 4.344 kB / 1.034 GB, free: 1.328 MB / 0.7794 GB (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 --timeout=50 --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) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches