Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.u.5.|extIndSig.y|extIndSig1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.u.5.|extIndSig.y|extIndSig1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001689/0.001689, allocations: 104 kB / 16.41 MB, free: 6.449 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.00203/0.00203, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.09 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.217/2.217, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 67.91 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8936/0.895, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002099/0.8971, allocations: 1.065 MB / 1.09 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00145/0.8986, allocations: 1.302 MB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.322e-05/0.8987, allocations: 2.031 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.8988, allocations: 19.14 kB / 1.091 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.33e-05/0.8989, allocations: 39.78 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006677/0.8995, allocations: 276.8 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003737/0.8999, allocations: 364.1 kB / 1.092 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000183/0.9001, allocations: 76.31 kB / 1.092 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.9003, allocations: 128.5 kB / 1.092 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001969/0.9005, allocations: 132.1 kB / 1.092 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.631e-05/0.9006, allocations: 33.78 kB / 1.092 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.9007, allocations: 58.55 kB / 1.092 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.434e-05/0.9008, allocations: 41.22 kB / 1.092 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001556/0.9009, allocations: 128.5 kB / 1.092 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004481/0.9014, allocations: 365.5 kB / 1.093 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.9014, allocations: 0.75 kB / 1.093 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9014, allocations: 0 / 1.093 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.9014, allocations: 0.7812 kB / 1.093 GB, free: 3.094 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0008666/0.9023, allocations: 0.6369 MB / 1.093 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.9023, allocations: 14 kB / 1.093 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.543e-05/0.9024, allocations: 27.38 kB / 1.093 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/0.9027, allocations: 256.5 kB / 1.093 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/0.9027, allocations: 14.08 kB / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.91e-05/0.9028, allocations: 19.61 kB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004784/0.9033, allocations: 191.3 kB / 1.094 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.9033, allocations: 4 kB / 1.094 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.943e-05/0.9033, allocations: 7.125 kB / 1.094 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.9033, allocations: 2.469 kB / 1.094 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005248/0.9039, allocations: 164.6 kB / 1.094 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.9049, allocations: 0.6299 MB / 1.094 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004983/0.9054, allocations: 192.5 kB / 1.095 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003307/0.9057, allocations: 140.8 kB / 1.095 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.9058, allocations: 1.891 kB / 1.095 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004597/0.9062, allocations: 198.7 kB / 1.095 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.673e-06/0.9062, allocations: 0.9688 kB / 1.095 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.001139/0.9074, allocations: 470.7 kB / 1.095 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.9074, allocations: 108.3 kB / 1.095 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.9077, allocations: 207.9 kB / 1.096 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.986e-05/0.9077, allocations: 34.98 kB / 1.096 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.281e-05/0.9078, allocations: 133.3 kB / 1.096 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.18e-05/0.9078, allocations: 47.52 kB / 1.096 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.908, allocations: 63.94 kB / 1.096 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.793e-05/0.908, allocations: 333.5 kB / 1.096 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004226/0.9085, allocations: 160 kB / 1.096 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004276/0.9089, allocations: 193.4 kB / 1.097 GB, free: 420 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007192/0.9096, allocations: 471.4 kB / 1.097 GB, free: 96 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.9097, allocations: 0.75 kB / 1.097 GB, free: 96 kB / 0.8575 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001123/0.9108, allocations: 0.5277 MB / 1.098 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 8.421e-05/0.9109, allocations: 137 kB / 1.098 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.9109, allocations: 1.031 kB / 1.098 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.9109, allocations: 3.25 kB / 1.098 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/0.9111, allocations: 41.88 kB / 1.098 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.9111, allocations: 6.25 kB / 1.098 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004293/0.9116, allocations: 82.59 kB / 1.098 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.649e-05/0.9116, allocations: 38.05 kB / 1.098 GB, free: 15.64 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0001847/0.9118, allocations: 202.4 kB / 1.098 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.026e-05/0.9119, allocations: 26.58 kB / 1.098 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.909e-05/0.9119, allocations: 20.58 kB / 1.098 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.9119, allocations: 1.438 kB / 1.098 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.912, allocations: 1.484 kB / 1.098 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.912, allocations: 4.656 kB / 1.098 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.913, allocations: 0.6874 MB / 1.099 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.9131, allocations: 0 / 1.099 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.9132, allocations: 36.66 kB / 1.099 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.9132, allocations: 0.9688 kB / 1.099 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.9133, allocations: 7.484 kB / 1.099 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.9133, allocations: 1.781 kB / 1.099 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.9133, allocations: 0 / 1.099 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008/0.9141, allocations: 467.4 kB / 1.099 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.653e-05/0.9142, allocations: 99.61 kB / 1.099 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.31e-05/0.9142, allocations: 6.516 kB / 1.099 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.9144, allocations: 20.02 kB / 1.099 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.595e-05/0.9145, allocations: 25.52 kB / 1.099 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.199e-05/0.9145, allocations: 21.52 kB / 1.099 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001388/0.9147, allocations: 157.3 kB / 1.1 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9147, allocations: 0 / 1.1 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003268/0.915, allocations: 58.58 kB / 1.1 GB, free: 14.43 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 2 * 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.0001633/0.9152, allocations: 105.7 kB / 1.1 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009887/0.9162, allocations: 0.5667 MB / 1.1 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.9162, allocations: 0.8438 kB / 1.1 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004042/0.9166, allocations: 248.4 kB / 1.101 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.917, allocations: 52.28 kB / 1.101 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007667/0.9178, allocations: 460.7 kB / 1.101 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.9181, allocations: 0.7375 MB / 1.102 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.748e-05/0.9182, allocations: 22.59 kB / 1.102 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.9182, allocations: 0 / 1.102 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of Templates: time 0.006184/0.9244, allocations: 3.098 MB / 1.105 GB, free: 12.52 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches