Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_latest_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.009394/0.009394, allocations: 102.1 kB / 15.73 MB, free: 6.031 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.001968/0.001968, allocations: 194.7 kB / 16.67 MB, free: 5.969 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.195 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.817/2.817, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002294/0.002294, allocations: 63.91 kB / 1.054 GB, free: 7.711 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.383/0.3853, allocations: 157.4 MB / 1.207 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002476/0.3878, allocations: 1 MB / 1.208 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001974/0.3898, allocations: 1.334 MB / 1.21 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.39, allocations: 0 / 1.21 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001395/0.3901, allocations: 23.75 kB / 1.21 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001366/0.3903, allocations: 35.64 kB / 1.21 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000895/0.3912, allocations: 287.3 kB / 1.21 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005104/0.3917, allocations: 395.3 kB / 1.21 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002078/0.3919, allocations: 65.94 kB / 1.21 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002697/0.3922, allocations: 155.6 kB / 1.21 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002464/0.3925, allocations: 135.5 kB / 1.211 GB, free: 6.773 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.4e-05/0.3926, allocations: 32 kB / 1.211 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.3927, allocations: 63.91 kB / 1.211 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.882e-05/0.3928, allocations: 55.83 kB / 1.211 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001645/0.393, allocations: 139.4 kB / 1.211 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000451/0.3935, allocations: 406.6 kB / 1.211 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3935, allocations: 0 / 1.211 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.744e-06/0.3935, allocations: 0 / 1.211 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.212e-05/0.3935, allocations: 0 / 1.211 GB, free: 6.09 MB / 0.9669 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.00106/0.3946, allocations: 0.6149 MB / 1.212 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.3946, allocations: 12.62 kB / 1.212 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.323e-05/0.3947, allocations: 46.73 kB / 1.212 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.432e-05/0.3948, allocations: 28.66 kB / 1.212 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000968/0.3957, allocations: 366.8 kB / 1.212 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.257e-05/0.3958, allocations: 16.38 kB / 1.212 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.689e-05/0.3958, allocations: 28.36 kB / 1.212 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004558/0.3963, allocations: 207.4 kB / 1.213 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.3963, allocations: 0 / 1.213 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/0.3964, allocations: 4 kB / 1.213 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.3964, allocations: 4 kB / 1.213 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004942/0.3969, allocations: 147.7 kB / 1.213 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.3981, allocations: 0.9109 MB / 1.214 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003291/0.3984, allocations: 149 kB / 1.214 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002459/0.3987, allocations: 80.3 kB / 1.214 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.3987, allocations: 11.88 kB / 1.214 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004688/0.3992, allocations: 167.4 kB / 1.214 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.963e-06/0.3992, allocations: 0 / 1.214 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0009152/0.4001, allocations: 253.3 kB / 1.214 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.987e-05/0.4002, allocations: 162.2 kB / 1.214 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.4004, allocations: 217 kB / 1.215 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.489e-05/0.4005, allocations: 37.98 kB / 1.215 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.4006, allocations: 152.1 kB / 1.215 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.957e-05/0.4007, allocations: 39.53 kB / 1.215 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.4008, allocations: 53.69 kB / 1.215 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.4009, allocations: 338.8 kB / 1.215 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003328/0.4013, allocations: 99.91 kB / 1.215 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003668/0.4016, allocations: 181 kB / 1.215 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005813/0.4022, allocations: 270.9 kB / 1.216 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.4022, allocations: 4 kB / 1.216 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008556/0.4031, allocations: 368.7 kB / 1.216 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.59e-05/0.4032, allocations: 71.39 kB / 1.216 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.4032, allocations: 0 / 1.216 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.4032, allocations: 4 kB / 1.216 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.4034, allocations: 23.97 kB / 1.216 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.4034, allocations: 7.938 kB / 1.216 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005123/0.4039, allocations: 91.86 kB / 1.216 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.39e-05/0.404, allocations: 19.92 kB / 1.216 GB, free: 0.5156 MB / 0.9669 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.0001492/0.4041, allocations: 153.7 kB / 1.216 GB, free: 364 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.4042, allocations: 19.81 kB / 1.216 GB, free: 344 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.627e-05/0.4042, allocations: 21.7 kB / 1.216 GB, free: 320 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.4042, allocations: 8 kB / 1.216 GB, free: 312 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.4042, allocations: 0 / 1.216 GB, free: 312 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.4043, allocations: 4 kB / 1.216 GB, free: 308 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/0.4045, allocations: 257.4 kB / 1.217 GB, free: 0 / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.746e-05/0.4045, allocations: 64 / 1.217 GB, free: 16 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.4047, allocations: 35.89 kB / 1.217 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.4047, allocations: 0 / 1.217 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.4047, allocations: 4 kB / 1.217 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.4047, allocations: 0 / 1.217 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.4047, allocations: 0 / 1.217 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005677/0.4053, allocations: 244.1 kB / 1.217 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.946e-05/0.4054, allocations: 96.83 kB / 1.217 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.4054, allocations: 0 / 1.217 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.4055, allocations: 23.91 kB / 1.217 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.214e-05/0.4056, allocations: 15.98 kB / 1.217 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.4056, allocations: 11.94 kB / 1.217 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001377/0.4058, allocations: 164.4 kB / 1.217 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4058, allocations: 0 / 1.217 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003155/0.4061, allocations: 55.92 kB / 1.217 GB, free: 15.31 MB / 0.9825 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.0009127/0.407, allocations: 0.7772 MB / 1.218 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007692/0.4078, allocations: 338.7 kB / 1.218 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4078, allocations: 0 / 1.218 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002784/0.4081, allocations: 80.44 kB / 1.218 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/0.4084, allocations: 58.33 kB / 1.219 GB, free: 14 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003769/0.4122, allocations: 2.564 MB / 1.221 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.4125, allocations: 0.7514 MB / 1.222 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001272/0.4127, allocations: 33.53 kB / 1.222 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.317e-05/0.4128, allocations: 71.41 kB / 1.222 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of SimCode: time 4.41e-07/0.4128, allocations: 0 / 1.222 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02246/0.4352, allocations: 5.452 MB / 1.227 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.655/8.09, allocations: 8.625 kB / 1.227 GB, free: 5.129 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches