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.00921/0.00921, allocations: 101.1 kB / 15.73 MB, free: 6.016 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.001729/0.001729, allocations: 189.7 kB / 16.67 MB, free: 5.93 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.271/2.271, allocations: 390.3 MB / 0.6648 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 63.91 kB / 0.9504 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8146/0.8161, allocations: 140.4 MB / 1.087 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001991/0.8182, allocations: 0.8746 MB / 1.088 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001509/0.8197, allocations: 1.288 MB / 1.09 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.844e-05/0.8198, allocations: 2.25 kB / 1.09 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.8199, allocations: 23.2 kB / 1.09 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.91e-05/0.82, allocations: 29.53 kB / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006635/0.8206, allocations: 269.8 kB / 1.09 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003566/0.821, allocations: 345.5 kB / 1.09 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.8212, allocations: 66.25 kB / 1.09 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.8213, allocations: 128.9 kB / 1.09 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.8215, allocations: 104.7 kB / 1.091 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.949e-05/0.8215, allocations: 37.12 kB / 1.091 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.8217, allocations: 49.3 kB / 1.091 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.262e-05/0.8217, allocations: 49.83 kB / 1.091 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.8219, allocations: 111.6 kB / 1.091 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004077/0.8223, allocations: 355.6 kB / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.8223, allocations: 0.6562 kB / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.934e-06/0.8223, allocations: 0.7031 kB / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.8223, allocations: 0.8125 kB / 1.091 GB, free: 3.047 MB / 0.8575 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.0005836/0.8229, allocations: 0.5542 MB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.8229, allocations: 14.17 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.829e-05/0.823, allocations: 41.95 kB / 1.092 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.418e-05/0.8231, allocations: 27.78 kB / 1.092 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006004/0.8237, allocations: 305.4 kB / 1.092 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.646e-05/0.8237, allocations: 13.97 kB / 1.092 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.822e-05/0.8238, allocations: 23.31 kB / 1.092 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002393/0.824, allocations: 154.2 kB / 1.092 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.824, allocations: 1.797 kB / 1.092 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.824, allocations: 5.875 kB / 1.092 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.824, allocations: 6.812 kB / 1.092 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.8242, allocations: 63.62 kB / 1.092 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006707/0.8248, allocations: 0.7627 MB / 1.093 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.155e-05/0.8249, allocations: 58.02 kB / 1.093 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.491e-05/0.825, allocations: 24.59 kB / 1.093 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.991e-06/0.825, allocations: 0 / 1.093 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001894/0.8252, allocations: 97.73 kB / 1.093 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.8252, allocations: 0 / 1.093 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0002799/0.8255, allocations: 133 kB / 1.093 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.8255, allocations: 80.09 kB / 1.093 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.8257, allocations: 218.6 kB / 1.094 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.8257, allocations: 35.06 kB / 1.094 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.335e-05/0.8258, allocations: 143.7 kB / 1.094 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.684e-05/0.8259, allocations: 15.67 kB / 1.094 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.826, allocations: 72.83 kB / 1.094 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.433e-05/0.826, allocations: 332.3 kB / 1.094 GB, free: 448 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.8262, allocations: 62.08 kB / 1.094 GB, free: 428 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/0.8264, allocations: 139.8 kB / 1.094 GB, free: 312 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.8266, allocations: 194.7 kB / 1.095 GB, free: 136 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.8266, allocations: 0.75 kB / 1.095 GB, free: 136 kB / 0.8575 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004982/0.8271, allocations: 290.4 kB / 1.095 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.094e-05/0.8271, allocations: 62.98 kB / 1.095 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.8272, allocations: 6.266 kB / 1.095 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.8272, allocations: 7.281 kB / 1.095 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.176e-05/0.8272, allocations: 12.95 kB / 1.095 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/0.8273, allocations: 2.375 kB / 1.095 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004312/0.8277, allocations: 81.2 kB / 1.095 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.334e-05/0.8277, allocations: 12.94 kB / 1.095 GB, free: 15.88 MB / 0.8731 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.0001549/0.8279, allocations: 154.9 kB / 1.095 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.8279, allocations: 14.41 kB / 1.095 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.853e-05/0.828, allocations: 16.34 kB / 1.095 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.828, allocations: 2.016 kB / 1.095 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.828, allocations: 0.6562 kB / 1.095 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.828, allocations: 1.531 kB / 1.095 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002079/0.8282, allocations: 233.1 kB / 1.095 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.8282, allocations: 0.8125 kB / 1.095 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.795e-05/0.8283, allocations: 5.562 kB / 1.095 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.8283, allocations: 0.9375 kB / 1.095 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.8283, allocations: 5.797 kB / 1.095 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.115e-06/0.8283, allocations: 2.094 kB / 1.095 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.8283, allocations: 0.6562 kB / 1.095 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001827/0.8285, allocations: 145.7 kB / 1.096 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.009e-05/0.8285, allocations: 89.92 kB / 1.096 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.8286, allocations: 2.531 kB / 1.096 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.365e-05/0.8286, allocations: 1.25 kB / 1.096 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-05/0.8286, allocations: 14.3 kB / 1.096 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.8287, allocations: 3.25 kB / 1.096 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001285/0.8288, allocations: 145.9 kB / 1.096 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8288, allocations: 0.5625 kB / 1.096 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000295/0.8291, allocations: 45.3 kB / 1.096 GB, free: 15.18 MB / 0.8731 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.000479/0.8296, allocations: 0.6843 MB / 1.097 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004042/0.83, allocations: 258 kB / 1.097 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.83, allocations: 0 / 1.097 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 7.078e-05/0.8301, allocations: 33.53 kB / 1.097 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.8304, allocations: 45.23 kB / 1.097 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002712/0.8331, allocations: 2.166 MB / 1.099 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.8335, allocations: 0.7317 MB / 1.1 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.148e-05/0.8335, allocations: 24.73 kB / 1.1 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.63e-05/0.8336, allocations: 53.56 kB / 1.1 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of SimCode: time 3.11e-07/0.8336, allocations: 0 / 1.1 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02345/0.8571, allocations: 4.381 MB / 1.104 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.948/8.806, allocations: 12.75 kB / 1.104 GB, free: 11.33 MB / 0.8731 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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