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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00139/0.00139, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001912/0.001912, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.377/1.377, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.302/2.302, allocations: 390.2 MB / 0.6643 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002337/0.002337, allocations: 63.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7021/0.7045, allocations: 140.4 MB / 0.9491 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002549/0.7071, allocations: 0.9313 MB / 0.95 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001505/0.7086, allocations: 1.318 MB / 0.9513 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.592e-05/0.7087, allocations: 5.281 kB / 0.9513 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001233/0.7088, allocations: 9.031 kB / 0.9513 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.653e-05/0.7089, allocations: 27.84 kB / 0.9513 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006121/0.7095, allocations: 239 kB / 0.9515 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002526/0.7098, allocations: 289.1 kB / 0.9518 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.71, allocations: 57.64 kB / 0.9519 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.7101, allocations: 112.5 kB / 0.952 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002395/0.7103, allocations: 120 kB / 0.9521 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.679e-05/0.7104, allocations: 13.22 kB / 0.9521 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.264e-05/0.7105, allocations: 24.11 kB / 0.9521 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.162e-05/0.7105, allocations: 38.02 kB / 0.9521 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.7107, allocations: 101.8 kB / 0.9522 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002557/0.7109, allocations: 317.8 kB / 0.9525 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.7109, allocations: 0 / 0.9525 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.22e-07/0.7109, allocations: 0 / 0.9525 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.7109, allocations: 0 / 0.9525 GB, free: 6.543 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.0005674/0.7115, allocations: 0.5366 MB / 0.9531 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.7116, allocations: 17.06 kB / 0.9531 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.551e-05/0.7116, allocations: 43.45 kB / 0.9531 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.885e-05/0.7117, allocations: 26.44 kB / 0.9532 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006048/0.7123, allocations: 293.2 kB / 0.9534 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.7123, allocations: 12 kB / 0.9534 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.606e-05/0.7124, allocations: 27.02 kB / 0.9535 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.7126, allocations: 160.6 kB / 0.9536 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.7126, allocations: 0 / 0.9536 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.7127, allocations: 5.562 kB / 0.9536 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.7127, allocations: 4.062 kB / 0.9536 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.7128, allocations: 65.77 kB / 0.9537 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006187/0.7134, allocations: 0.7489 MB / 0.9544 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.086e-05/0.7135, allocations: 67.02 kB / 0.9545 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.815e-05/0.7136, allocations: 30.06 kB / 0.9545 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.7136, allocations: 0 / 0.9545 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000194/0.7138, allocations: 102.1 kB / 0.9546 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 8.42e-07/0.7138, allocations: 4 kB / 0.9546 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.000262/0.714, allocations: 125.3 kB / 0.9547 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.7141, allocations: 79.64 kB / 0.9548 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.7143, allocations: 211.6 kB / 0.955 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.7143, allocations: 29.92 kB / 0.955 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.456e-05/0.7144, allocations: 149.4 kB / 0.9552 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.534e-05/0.7144, allocations: 15.91 kB / 0.9552 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.7145, allocations: 70.23 kB / 0.9553 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.104e-05/0.7146, allocations: 334.4 kB / 0.9556 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.7147, allocations: 60.41 kB / 0.9556 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.7149, allocations: 117 kB / 0.9558 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/0.7151, allocations: 194.2 kB / 0.9559 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.7151, allocations: 0 / 0.9559 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004507/0.7155, allocations: 300.6 kB / 0.9562 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.848e-05/0.7156, allocations: 65.98 kB / 0.9563 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.7156, allocations: 0 / 0.9563 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.7156, allocations: 3.562 kB / 0.9563 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.415e-05/0.7157, allocations: 7.438 kB / 0.9563 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.7157, allocations: 3.75 kB / 0.9563 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003115/0.716, allocations: 54.94 kB / 0.9564 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.119e-05/0.716, allocations: 21.33 kB / 0.9564 GB, free: 3.074 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.0001147/0.7162, allocations: 150.4 kB / 0.9565 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.151e-05/0.7162, allocations: 15.19 kB / 0.9565 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.391e-05/0.7162, allocations: 16.55 kB / 0.9566 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.7162, allocations: 1.781 kB / 0.9566 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.7162, allocations: 1.781 kB / 0.9566 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.7163, allocations: 0 / 0.9566 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.7164, allocations: 240.6 kB / 0.9568 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.7164, allocations: 1.875 kB / 0.9568 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.287e-05/0.7164, allocations: 2.969 kB / 0.9568 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.7164, allocations: 1.281 kB / 0.9568 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.7165, allocations: 1.344 kB / 0.9568 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.7165, allocations: 5.281 kB / 0.9568 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.7165, allocations: 0 / 0.9568 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001531/0.7166, allocations: 137 kB / 0.9569 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.615e-05/0.7167, allocations: 93.39 kB / 0.957 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.7167, allocations: 1.719 kB / 0.957 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.136e-05/0.7167, allocations: 5.344 kB / 0.957 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.7168, allocations: 11.48 kB / 0.957 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.7168, allocations: 7.094 kB / 0.957 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.826e-05/0.7169, allocations: 148.5 kB / 0.9572 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7169, allocations: 0 / 0.9572 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002731/0.7172, allocations: 50.11 kB / 0.9572 GB, free: 2.309 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.0004076/0.7176, allocations: 0.6826 MB / 0.9579 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003283/0.7179, allocations: 260.1 kB / 0.9581 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7179, allocations: 2.562 kB / 0.9582 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.209e-05/0.718, allocations: 29.38 kB / 0.9582 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.7183, allocations: 41.84 kB / 0.9582 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002387/0.7207, allocations: 2.198 MB / 0.9604 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.721, allocations: 0.7272 MB / 0.9611 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.752e-05/0.7211, allocations: 25.81 kB / 0.9611 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.499e-05/0.7212, allocations: 55.89 kB / 0.9612 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of SimCode: time 2.01e-07/0.7212, allocations: 0 / 0.9612 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01432/0.7355, allocations: 3.963 MB / 0.965 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002712/0.7358, allocations: 220.4 kB / 0.9652 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.796/2.532, allocations: 0.8438 kB / 0.9652 GB, free: 12.64 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