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.009238/0.009238, allocations: 103.5 kB / 15.73 MB, free: 6.469 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.001944/0.001945, allocations: 193.2 kB / 16.67 MB, free: 6.379 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.877/2.877, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 67.89 kB / 1.054 GB, free: 7.621 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.3777, allocations: 157.4 MB / 1.207 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.003453/0.3812, allocations: 1.004 MB / 1.208 GB, free: 9.117 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002305/0.3836, allocations: 1.334 MB / 1.21 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001372/0.3837, allocations: 3.938 kB / 1.21 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001488/0.3839, allocations: 19.75 kB / 1.21 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001425/0.3841, allocations: 43.64 kB / 1.21 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.3852, allocations: 275.2 kB / 1.21 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0008808/0.386, allocations: 403.3 kB / 1.21 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003391/0.3864, allocations: 57.95 kB / 1.21 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005063/0.3869, allocations: 163.6 kB / 1.21 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004386/0.3874, allocations: 131.5 kB / 1.211 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001453/0.3875, allocations: 40 kB / 1.211 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002511/0.3878, allocations: 55.98 kB / 1.211 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.3879, allocations: 59.77 kB / 1.211 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002459/0.3882, allocations: 139.4 kB / 1.211 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006504/0.3889, allocations: 398.7 kB / 1.211 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.3889, allocations: 3.938 kB / 1.211 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.835e-06/0.3889, allocations: 0 / 1.211 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.818e-06/0.3889, allocations: 0 / 1.211 GB, free: 6.016 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.001082/0.39, allocations: 0.6188 MB / 1.212 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.3901, allocations: 12.62 kB / 1.212 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.058e-05/0.3901, allocations: 42.73 kB / 1.212 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.721e-05/0.3902, allocations: 28.66 kB / 1.212 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009297/0.3911, allocations: 370.8 kB / 1.212 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.3912, allocations: 12.38 kB / 1.212 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.178e-05/0.3912, allocations: 24.36 kB / 1.212 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004545/0.3917, allocations: 207.4 kB / 1.213 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.3917, allocations: 0 / 1.213 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.292e-05/0.3918, allocations: 11.98 kB / 1.213 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.3918, allocations: 4 kB / 1.213 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004464/0.3922, allocations: 139.8 kB / 1.213 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/0.3936, allocations: 0.9109 MB / 1.214 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000321/0.3939, allocations: 153 kB / 1.214 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000232/0.3941, allocations: 76.3 kB / 1.214 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.3942, allocations: 7.938 kB / 1.214 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005191/0.3947, allocations: 167.4 kB / 1.214 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 2.054e-06/0.3947, allocations: 3.938 kB / 1.214 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0008722/0.3956, allocations: 253.6 kB / 1.214 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/0.3957, allocations: 162.2 kB / 1.214 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002596/0.396, allocations: 221 kB / 1.215 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.698e-05/0.396, allocations: 29.7 kB / 1.215 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.3962, allocations: 156.1 kB / 1.215 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.608e-05/0.3962, allocations: 43.47 kB / 1.215 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/0.3964, allocations: 57.67 kB / 1.215 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001802/0.3966, allocations: 334.8 kB / 1.215 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003472/0.3969, allocations: 103.9 kB / 1.215 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003665/0.3973, allocations: 177.3 kB / 1.215 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000572/0.3979, allocations: 270.9 kB / 1.216 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.3979, allocations: 4 kB / 1.216 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008706/0.3988, allocations: 368.5 kB / 1.216 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 8.343e-05/0.3989, allocations: 67.39 kB / 1.216 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.3989, allocations: 0 / 1.216 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.3989, allocations: 4 kB / 1.216 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.3991, allocations: 32.19 kB / 1.216 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.3991, allocations: 4 kB / 1.216 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004711/0.3996, allocations: 87.73 kB / 1.216 GB, free: 472 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.57e-05/0.3996, allocations: 19.92 kB / 1.216 GB, free: 452 kB / 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.0001661/0.3998, allocations: 153.7 kB / 1.216 GB, free: 288 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.605e-05/0.3999, allocations: 19.81 kB / 1.216 GB, free: 268 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.829e-05/0.3999, allocations: 21.23 kB / 1.216 GB, free: 244 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.3999, allocations: 7.938 kB / 1.216 GB, free: 236 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.3999, allocations: 0 / 1.216 GB, free: 236 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.4, allocations: 4 kB / 1.216 GB, free: 232 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002948/0.4003, allocations: 261.5 kB / 1.217 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4003, allocations: 0 / 1.217 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.4004, allocations: 35.91 kB / 1.217 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.4004, allocations: 4 kB / 1.217 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.4005, allocations: 4 kB / 1.217 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.4005, allocations: 0 / 1.217 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4005, allocations: 0 / 1.217 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005549/0.401, allocations: 236.6 kB / 1.217 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.265e-05/0.4011, allocations: 100.8 kB / 1.217 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.4011, allocations: 0 / 1.217 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.4013, allocations: 23.97 kB / 1.217 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.189e-05/0.4013, allocations: 11.98 kB / 1.217 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-05/0.4014, allocations: 19.92 kB / 1.217 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000135/0.4015, allocations: 156.5 kB / 1.217 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4015, allocations: 3.938 kB / 1.217 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000312/0.4018, allocations: 55.92 kB / 1.217 GB, free: 15.23 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.0009388/0.4028, allocations: 0.7794 MB / 1.218 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007534/0.4035, allocations: 334.9 kB / 1.218 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.4036, allocations: 4.062 kB / 1.218 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002764/0.4038, allocations: 83.81 kB / 1.218 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003815/0.4042, allocations: 46.09 kB / 1.219 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004052/0.4083, allocations: 2.555 MB / 1.221 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.4086, allocations: 0.7592 MB / 1.222 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001282/0.4088, allocations: 29.53 kB / 1.222 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.4089, allocations: 67.41 kB / 1.222 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.4089, allocations: 0 / 1.222 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0226/0.4315, allocations: 5.464 MB / 1.227 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.476/7.907, allocations: 11.5 kB / 1.227 GB, free: 5.055 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