Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.RealExtractSignal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",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.01128/0.01128, allocations: 99.59 kB / 15.73 MB, free: 6.484 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.002241/0.002241, allocations: 192.2 kB / 16.68 MB, free: 6.367 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.426/2.426, allocations: 390.3 MB / 0.6648 GB, free: 132 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 68 kB / 0.9504 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3152, allocations: 140.4 MB / 1.087 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002604/0.3178, allocations: 0.9741 MB / 1.088 GB, free: 0.9883 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002293/0.3201, allocations: 1.289 MB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.3203, allocations: 0 / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001427/0.3205, allocations: 11.81 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001656/0.3207, allocations: 47.64 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009294/0.3216, allocations: 257.1 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005662/0.3222, allocations: 347.3 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000178/0.3224, allocations: 53.73 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000261/0.3226, allocations: 123.7 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002527/0.3229, allocations: 115.5 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.418e-05/0.323, allocations: 32 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.3231, allocations: 47.98 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.087e-05/0.3232, allocations: 43.84 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001629/0.3234, allocations: 111.5 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004499/0.3238, allocations: 334.8 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.3239, allocations: 0 / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.254e-06/0.3239, allocations: 0 / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.3239, allocations: 4 kB / 1.091 GB, free: 14.19 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001025/0.3249, allocations: 0.5682 MB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.325, allocations: 15.97 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.039e-05/0.325, allocations: 38.73 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.32e-05/0.3251, allocations: 24.84 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003199/0.3254, allocations: 260 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.3255, allocations: 8.375 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.412e-05/0.3255, allocations: 16.38 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004413/0.326, allocations: 180.2 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.326, allocations: 3.938 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.326, allocations: 8 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.326, allocations: 0 / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000481/0.3265, allocations: 139.7 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/0.3277, allocations: 0.876 MB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003542/0.3281, allocations: 161 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002752/0.3284, allocations: 92.22 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.3284, allocations: 8 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000476/0.3289, allocations: 187.5 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.3289, allocations: 0 / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.000959/0.3299, allocations: 285.5 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.198e-05/0.33, allocations: 154.2 kB / 1.094 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/0.3302, allocations: 211 kB / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.763e-05/0.3303, allocations: 29.7 kB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.3304, allocations: 120.4 kB / 1.094 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.744e-05/0.3304, allocations: 39.77 kB / 1.094 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.3306, allocations: 53.69 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.3307, allocations: 330.8 kB / 1.095 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003703/0.3311, allocations: 119.9 kB / 1.095 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003944/0.3315, allocations: 185.6 kB / 1.095 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006671/0.3321, allocations: 294.9 kB / 1.095 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.3322, allocations: 0 / 1.095 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009577/0.3331, allocations: 408.6 kB / 1.096 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.762e-05/0.3332, allocations: 75.39 kB / 1.096 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.3332, allocations: 0 / 1.096 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/0.3332, allocations: 7.938 kB / 1.096 GB, free: 8.898 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/0.3334, allocations: 28.19 kB / 1.096 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/0.3335, allocations: 7.938 kB / 1.096 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000508/0.334, allocations: 75.84 kB / 1.096 GB, free: 8.789 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.671e-05/0.334, allocations: 8 kB / 1.096 GB, free: 8.781 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * 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.0001488/0.3342, allocations: 141.8 kB / 1.096 GB, free: 8.633 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.3342, allocations: 23.86 kB / 1.096 GB, free: 8.609 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.671e-05/0.3343, allocations: 20.92 kB / 1.096 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.3343, allocations: 3.938 kB / 1.096 GB, free: 8.586 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.3343, allocations: 4 kB / 1.096 GB, free: 8.582 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.3343, allocations: 0 / 1.096 GB, free: 8.582 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002453/0.3346, allocations: 245.5 kB / 1.096 GB, free: 8.293 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.3346, allocations: 4 kB / 1.096 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.3347, allocations: 27.91 kB / 1.096 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.3348, allocations: 4.469 kB / 1.096 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.3348, allocations: 8 kB / 1.096 GB, free: 8.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.3348, allocations: 7.938 kB / 1.096 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3348, allocations: 0 / 1.096 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005939/0.3354, allocations: 260.2 kB / 1.097 GB, free: 7.957 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.856e-05/0.3355, allocations: 108.8 kB / 1.097 GB, free: 7.832 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.3355, allocations: 4 kB / 1.097 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.3357, allocations: 23.91 kB / 1.097 GB, free: 7.805 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.266e-05/0.3357, allocations: 15.98 kB / 1.097 GB, free: 7.789 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.3357, allocations: 8 kB / 1.097 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001313/0.3359, allocations: 156.4 kB / 1.097 GB, free: 7.629 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3359, allocations: 0 / 1.097 GB, free: 7.629 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002952/0.3362, allocations: 40 kB / 1.097 GB, free: 7.59 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.0009923/0.3372, allocations: 0.803 MB / 1.098 GB, free: 6.742 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0008153/0.338, allocations: 378.5 kB / 1.098 GB, free: 6.348 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.338, allocations: 448 / 1.098 GB, free: 6.348 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003101/0.3383, allocations: 91.88 kB / 1.098 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.3387, allocations: 43.88 kB / 1.098 GB, free: 6.215 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004138/0.3429, allocations: 2.548 MB / 1.101 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.3433, allocations: 0.7318 MB / 1.102 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001174/0.3434, allocations: 21.41 kB / 1.102 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.3435, allocations: 51.41 kB / 1.102 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of SimCode: time 4.11e-07/0.3435, allocations: 0 / 1.102 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0243/0.3678, allocations: 5.011 MB / 1.106 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.825/8.192, allocations: 10.89 kB / 1.106 GB, free: 13.81 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_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_RealExtractSignal.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches