Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001299, allocations: 106 kB / 15.99 MB, free: 6.352 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.001232/0.001232, allocations: 193.2 kB / 16.91 MB, free: 6.195 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.354/1.354, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.572/2.572, allocations: 469.8 MB / 0.7427 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001809/0.001809, allocations: 67.42 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2875, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002168/0.2897, allocations: 1.067 MB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001665/0.2914, allocations: 1.33 MB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.529e-05/0.2915, allocations: 4 kB / 1.066 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 9.803e-05/0.2916, allocations: 15.86 kB / 1.067 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.241e-05/0.2917, allocations: 31.72 kB / 1.067 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006453/0.2923, allocations: 248.9 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004071/0.2927, allocations: 399.3 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.2929, allocations: 61.66 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001918/0.2931, allocations: 163.6 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002405/0.2933, allocations: 143.5 kB / 1.068 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.129e-05/0.2934, allocations: 36 kB / 1.068 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.711e-05/0.2935, allocations: 51.97 kB / 1.068 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 6.239e-05/0.2936, allocations: 55.78 kB / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001347/0.2937, allocations: 131.4 kB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003028/0.294, allocations: 299.5 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.294, allocations: 0 / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.162e-06/0.294, allocations: 0 / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.294, allocations: 7.984 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0009047/0.295, allocations: 0.5955 MB / 1.069 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.295, allocations: 8.031 kB / 1.069 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.445e-05/0.2951, allocations: 36.5 kB / 1.069 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009118/0.296, allocations: 378.8 kB / 1.069 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.296, allocations: 12.38 kB / 1.069 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.716e-05/0.2961, allocations: 20.38 kB / 1.069 GB, free: 9.941 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004359/0.2965, allocations: 206.3 kB / 1.069 GB, free: 9.719 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.2965, allocations: 3.938 kB / 1.069 GB, free: 9.715 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.2966, allocations: 4 kB / 1.069 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.2966, allocations: 4 kB / 1.069 GB, free: 9.707 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000455/0.297, allocations: 139.8 kB / 1.069 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.2982, allocations: 0.9109 MB / 1.07 GB, free: 8.594 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000307/0.2985, allocations: 149 kB / 1.07 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002327/0.2987, allocations: 80.3 kB / 1.071 GB, free: 8.309 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.2987, allocations: 3.938 kB / 1.071 GB, free: 8.305 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004018/0.2992, allocations: 171.5 kB / 1.071 GB, free: 8.109 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=11): time 1.283e-06/0.2992, allocations: 0 / 1.071 GB, free: 8.109 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11): time 0.0008381/0.3, allocations: 257.2 kB / 1.071 GB, free: 7.852 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.995e-05/0.3001, allocations: 162.5 kB / 1.071 GB, free: 7.656 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002184/0.3003, allocations: 224.9 kB / 1.071 GB, free: 7.43 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.906e-05/0.3004, allocations: 37.64 kB / 1.071 GB, free: 7.387 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.3005, allocations: 156.1 kB / 1.071 GB, free: 7.23 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.871e-05/0.3006, allocations: 27.64 kB / 1.072 GB, free: 7.203 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.3007, allocations: 53.69 kB / 1.072 GB, free: 7.145 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3008, allocations: 334.8 kB / 1.072 GB, free: 6.809 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003277/0.3012, allocations: 107.9 kB / 1.072 GB, free: 6.703 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003412/0.3015, allocations: 159.6 kB / 1.072 GB, free: 6.52 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005804/0.3021, allocations: 274.9 kB / 1.072 GB, free: 6.211 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3021, allocations: 0 / 1.072 GB, free: 6.211 MB / 0.8419 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008364/0.303, allocations: 372.4 kB / 1.073 GB, free: 5.828 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.352e-05/0.303, allocations: 67.39 kB / 1.073 GB, free: 5.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.303, allocations: 0 / 1.073 GB, free: 5.75 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.3031, allocations: 4 kB / 1.073 GB, free: 5.746 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.3032, allocations: 24.66 kB / 1.073 GB, free: 5.723 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.3032, allocations: 11.94 kB / 1.073 GB, free: 5.711 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003822/0.3036, allocations: 67.83 kB / 1.073 GB, free: 5.645 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.422e-05/0.3037, allocations: 15.98 kB / 1.073 GB, free: 5.629 MB / 0.8419 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.0001605/0.3038, allocations: 149.1 kB / 1.073 GB, free: 5.477 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.3039, allocations: 27.8 kB / 1.073 GB, free: 5.449 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.068e-05/0.3039, allocations: 25.23 kB / 1.073 GB, free: 5.414 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.3039, allocations: 4 kB / 1.073 GB, free: 5.41 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3039, allocations: 0 / 1.073 GB, free: 5.41 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.304, allocations: 3.984 kB / 1.073 GB, free: 5.406 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002605/0.3042, allocations: 261.4 kB / 1.073 GB, free: 5.102 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3042, allocations: 0 / 1.073 GB, free: 5.102 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001327/0.3044, allocations: 27.91 kB / 1.073 GB, free: 5.074 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.3044, allocations: 8 kB / 1.073 GB, free: 5.066 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.3044, allocations: 0 / 1.073 GB, free: 5.066 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.985e-06/0.3044, allocations: 7.984 kB / 1.073 GB, free: 5.059 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3044, allocations: 0 / 1.073 GB, free: 5.059 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005521/0.305, allocations: 244 kB / 1.074 GB, free: 4.789 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.156e-05/0.305, allocations: 92.91 kB / 1.074 GB, free: 4.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.3051, allocations: 4 kB / 1.074 GB, free: 4.676 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.3052, allocations: 23.97 kB / 1.074 GB, free: 4.652 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.414e-05/0.3053, allocations: 15.98 kB / 1.074 GB, free: 4.637 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.3053, allocations: 8 kB / 1.074 GB, free: 4.629 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001395/0.3054, allocations: 164.4 kB / 1.074 GB, free: 4.469 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3054, allocations: 0 / 1.074 GB, free: 4.469 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002825/0.3057, allocations: 51.84 kB / 1.074 GB, free: 4.418 MB / 0.8419 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.0001485/0.3059, allocations: 111.2 kB / 1.074 GB, free: 4.301 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007448/0.3066, allocations: 334.5 kB / 1.074 GB, free: 3.949 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3066, allocations: 3.938 kB / 1.074 GB, free: 3.945 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002813/0.3069, allocations: 92.42 kB / 1.075 GB, free: 3.855 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.3073, allocations: 48.81 kB / 1.075 GB, free: 3.812 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000706/0.308, allocations: 493.3 kB / 1.075 GB, free: 3.289 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.3084, allocations: 0.7554 MB / 1.076 GB, free: 2.508 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.204e-05/0.3084, allocations: 19.44 kB / 1.076 GB, free: 2.488 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.3084, allocations: 0 / 1.076 GB, free: 2.488 MB / 0.8419 GB Notification: Performance of Templates: time 0.4187/0.7271, allocations: 3.014 MB / 1.079 GB, free: 22.37 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches