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: 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.",fileNamePrefix="Buildings_9_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.",fileNamePrefix="Buildings_9_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.005418/0.005418, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001113/0.001113, allocations: 198.7 kB / 16.67 MB, free: 5.934 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.353/2.353, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 67.91 kB / 0.9509 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.083/1.086, allocations: 140.4 MB / 1.088 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.003188/1.089, allocations: 0.9785 MB / 1.089 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00227/1.091, allocations: 1.279 MB / 1.09 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001917/1.091, allocations: 1.25 kB / 1.09 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001407/1.091, allocations: 14.84 kB / 1.09 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001894/1.092, allocations: 42.62 kB / 1.09 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001086/1.093, allocations: 257.8 kB / 1.09 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007513/1.094, allocations: 338.6 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002072/1.094, allocations: 49.69 kB / 1.091 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003393/1.094, allocations: 129.5 kB / 1.091 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002505/1.094, allocations: 113.9 kB / 1.091 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.992e-05/1.094, allocations: 30.75 kB / 1.091 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001512/1.095, allocations: 44.64 kB / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.53e-05/1.095, allocations: 40.34 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000185/1.095, allocations: 123.6 kB / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00057/1.095, allocations: 330.5 kB / 1.092 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/1.095, allocations: 0.625 kB / 1.092 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.725e-06/1.095, allocations: 0.5312 kB / 1.092 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.324e-06/1.095, allocations: 4 kB / 1.092 GB, free: 3.266 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.0009938/1.096, allocations: 0.5733 MB / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.875e-05/1.097, allocations: 9.266 kB / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.491e-05/1.097, allocations: 23.19 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/1.097, allocations: 257 kB / 1.092 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/1.097, allocations: 12.09 kB / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.703e-05/1.097, allocations: 12.61 kB / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004728/1.098, allocations: 180 kB / 1.093 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/1.098, allocations: 192 / 1.093 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/1.098, allocations: 8.969 kB / 1.093 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/1.098, allocations: 3.562 kB / 1.093 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005279/1.098, allocations: 132.1 kB / 1.093 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/1.099, allocations: 0.8748 MB / 1.094 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003437/1.1, allocations: 166.8 kB / 1.094 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002679/1.1, allocations: 90.62 kB / 1.094 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/1.1, allocations: 1.953 kB / 1.094 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004262/1.1, allocations: 195.5 kB / 1.094 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/1.1, allocations: 0 / 1.094 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.001057/1.101, allocations: 281.1 kB / 1.094 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.057e-05/1.101, allocations: 162.6 kB / 1.094 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/1.102, allocations: 206.8 kB / 1.095 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.569e-05/1.102, allocations: 30.78 kB / 1.095 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/1.102, allocations: 129.5 kB / 1.095 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.919e-05/1.102, allocations: 39.06 kB / 1.095 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001462/1.102, allocations: 54.72 kB / 1.095 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.389e-05/1.102, allocations: 329.2 kB / 1.095 GB, free: 356 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004327/1.103, allocations: 117 kB / 1.095 GB, free: 324 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004399/1.103, allocations: 179.9 kB / 1.096 GB, free: 208 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006826/1.104, allocations: 290.3 kB / 1.096 GB, free: 12 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/1.104, allocations: 5.156 kB / 1.096 GB, free: 8 kB / 0.8575 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001144/1.105, allocations: 403.3 kB / 1.096 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 7.582e-05/1.105, allocations: 75.08 kB / 1.096 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/1.105, allocations: 5.281 kB / 1.096 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/1.105, allocations: 4.031 kB / 1.096 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/1.105, allocations: 30.73 kB / 1.096 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/1.105, allocations: 6.812 kB / 1.096 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004748/1.106, allocations: 73.77 kB / 1.096 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.616e-05/1.106, allocations: 13.47 kB / 1.096 GB, free: 15.72 MB / 0.8731 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.0001696/1.106, allocations: 144.3 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.442e-05/1.106, allocations: 21.31 kB / 1.097 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.707e-05/1.106, allocations: 24.97 kB / 1.097 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/1.106, allocations: 6.344 kB / 1.097 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/1.106, allocations: 5.344 kB / 1.097 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.343e-06/1.106, allocations: 2.438 kB / 1.097 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003076/1.106, allocations: 250.7 kB / 1.097 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/1.106, allocations: 1.359 kB / 1.097 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/1.107, allocations: 30.06 kB / 1.097 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/1.107, allocations: 2.688 kB / 1.097 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/1.107, allocations: 6.172 kB / 1.097 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.985e-06/1.107, allocations: 7.031 kB / 1.097 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/1.107, allocations: 5.734 kB / 1.097 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007094/1.107, allocations: 251.8 kB / 1.097 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.904e-05/1.107, allocations: 104 kB / 1.097 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.155e-05/1.107, allocations: 4.453 kB / 1.097 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/1.108, allocations: 21.73 kB / 1.097 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.962e-05/1.108, allocations: 15.34 kB / 1.097 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/1.108, allocations: 8.578 kB / 1.097 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001795/1.108, allocations: 150 kB / 1.097 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.108, allocations: 0 / 1.097 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003306/1.108, allocations: 45.95 kB / 1.097 GB, free: 14.95 MB / 0.8731 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.0002018/1.108, allocations: 113.7 kB / 1.098 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009474/1.109, allocations: 366.1 kB / 1.098 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/1.109, allocations: 8 kB / 1.098 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003401/1.11, allocations: 93.14 kB / 1.098 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/1.11, allocations: 47.06 kB / 1.098 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007263/1.111, allocations: 325.9 kB / 1.098 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/1.111, allocations: 0.7313 MB / 1.099 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001139/1.111, allocations: 23.12 kB / 1.099 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.259e-05/1.111, allocations: 19.77 kB / 1.099 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of SimCode: time 2.11e-07/1.111, allocations: 0 / 1.099 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of Templates: time 0.00864/1.12, allocations: 3.217 MB / 1.102 GB, free: 13.39 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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