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.007176/0.007176, allocations: 103.6 kB / 15.73 MB, free: 6.445 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.001542/0.001542, allocations: 190.6 kB / 16.67 MB, free: 6.355 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.353/2.353, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001409, allocations: 63.06 kB / 0.9504 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2923, allocations: 140.4 MB / 1.087 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002305/0.2947, allocations: 0.9814 MB / 1.088 GB, free: 1.023 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001804/0.2965, allocations: 1.282 MB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.2966, allocations: 11.88 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001272/0.2968, allocations: 15.81 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001149/0.2969, allocations: 43.62 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007757/0.2977, allocations: 252.3 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005489/0.2983, allocations: 343.4 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001932/0.2985, allocations: 52.34 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002219/0.2987, allocations: 127.7 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001884/0.2989, allocations: 115.5 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.847e-05/0.299, allocations: 32 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.2991, allocations: 47.92 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.025e-05/0.2992, allocations: 35.91 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.2993, allocations: 119.5 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003569/0.2997, allocations: 339.8 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2997, allocations: 4 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2997, allocations: 0 / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.436e-05/0.2997, allocations: 0 / 1.091 GB, free: 14.22 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.0009244/0.3006, allocations: 0.5566 MB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.3007, allocations: 12.02 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.751e-05/0.3007, allocations: 42.75 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.544e-05/0.3008, allocations: 20.75 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003032/0.3011, allocations: 259.8 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.3012, allocations: 16.36 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.691e-05/0.3012, allocations: 12.38 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004255/0.3016, allocations: 175.9 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.3016, allocations: 3.938 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.3017, allocations: 7.938 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.3017, allocations: 4 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005242/0.3022, allocations: 135.8 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/0.3033, allocations: 0.8758 MB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003422/0.3036, allocations: 161 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002671/0.3039, allocations: 96.22 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.3039, allocations: 0 / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004607/0.3044, allocations: 183.5 kB / 1.094 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/0.3044, allocations: 0 / 1.094 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0009922/0.3054, allocations: 285.1 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.567e-05/0.3055, allocations: 166.5 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.3057, allocations: 206.9 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.48e-05/0.3057, allocations: 29.7 kB / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.702e-05/0.3058, allocations: 124.4 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.705e-05/0.3059, allocations: 35.58 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.306, allocations: 53.69 kB / 1.094 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.3062, allocations: 330.8 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003691/0.3065, allocations: 123.9 kB / 1.095 GB, free: 9.992 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003961/0.3069, allocations: 167.6 kB / 1.095 GB, free: 9.801 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006487/0.3076, allocations: 302.8 kB / 1.095 GB, free: 9.465 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/0.3076, allocations: 0 / 1.095 GB, free: 9.465 MB / 0.8575 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009585/0.3086, allocations: 404.5 kB / 1.096 GB, free: 9.051 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.768e-05/0.3087, allocations: 75.39 kB / 1.096 GB, free: 8.965 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.3087, allocations: 4 kB / 1.096 GB, free: 8.961 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.3087, allocations: 3.938 kB / 1.096 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/0.3089, allocations: 31.91 kB / 1.096 GB, free: 8.926 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.3089, allocations: 4.219 kB / 1.096 GB, free: 8.922 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000439/0.3094, allocations: 79.75 kB / 1.096 GB, free: 8.844 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-05/0.3094, allocations: 15.98 kB / 1.096 GB, free: 8.828 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.0001484/0.3096, allocations: 137.8 kB / 1.096 GB, free: 8.684 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.991e-05/0.3096, allocations: 19.81 kB / 1.096 GB, free: 8.664 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.398e-05/0.3097, allocations: 20.92 kB / 1.096 GB, free: 8.645 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.3097, allocations: 7.938 kB / 1.096 GB, free: 8.637 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.3097, allocations: 0 / 1.096 GB, free: 8.637 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.3097, allocations: 4 kB / 1.096 GB, free: 8.633 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002407/0.3099, allocations: 241.5 kB / 1.096 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.31, allocations: 0 / 1.096 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/0.3101, allocations: 27.97 kB / 1.096 GB, free: 8.32 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.3101, allocations: 4 kB / 1.096 GB, free: 8.316 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.3102, allocations: 4 kB / 1.096 GB, free: 8.312 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.3102, allocations: 7.938 kB / 1.096 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3102, allocations: 3.938 kB / 1.096 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006257/0.3108, allocations: 264.6 kB / 1.097 GB, free: 8.012 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.925e-05/0.3109, allocations: 92.92 kB / 1.097 GB, free: 7.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.3109, allocations: 11.98 kB / 1.097 GB, free: 7.891 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.311, allocations: 23.91 kB / 1.097 GB, free: 7.867 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.664e-05/0.3111, allocations: 15.98 kB / 1.097 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.3111, allocations: 8 kB / 1.097 GB, free: 7.844 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001225/0.3113, allocations: 160.3 kB / 1.097 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3113, allocations: 0 / 1.097 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002909/0.3116, allocations: 47.84 kB / 1.097 GB, free: 7.641 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.0008981/0.3125, allocations: 0.7912 MB / 1.098 GB, free: 6.805 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0008134/0.3133, allocations: 382.4 kB / 1.098 GB, free: 6.406 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3133, allocations: 0 / 1.098 GB, free: 6.406 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003091/0.3136, allocations: 92.31 kB / 1.098 GB, free: 6.316 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.314, allocations: 41.53 kB / 1.098 GB, free: 6.277 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003889/0.3179, allocations: 2.536 MB / 1.101 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.3182, allocations: 0.7395 MB / 1.101 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001092/0.3184, allocations: 17.42 kB / 1.101 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.183e-05/0.3185, allocations: 55.34 kB / 1.102 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of SimCode: time 4.61e-07/0.3185, allocations: 0 / 1.102 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03023/0.3487, allocations: 5.132 MB / 1.107 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.895/8.243, allocations: 9.172 kB / 1.107 GB, free: 13.75 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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