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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.004667/0.004667, allocations: 101.9 kB / 15.73 MB, free: 6.066 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.00128/0.00128, allocations: 197.3 kB / 16.68 MB, free: 5.973 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.337/1.337, 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 12.0.0-master/package.mo): time 2.649/2.649, allocations: 482.6 MB / 0.7551 GB, free: 6.605 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001778/0.001778, allocations: 60.88 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2924, allocations: 162.3 MB / 1.242 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002277/0.2947, allocations: 1.003 MB / 1.243 GB, free: 7.914 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001666/0.2964, allocations: 1.331 MB / 1.244 GB, free: 6.57 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.748e-05/0.2964, allocations: 3.938 kB / 1.244 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.654e-05/0.2965, allocations: 19.8 kB / 1.244 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.271e-05/0.2966, allocations: 35.66 kB / 1.244 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007188/0.2974, allocations: 277.9 kB / 1.244 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004725/0.2979, allocations: 399.2 kB / 1.245 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001917/0.2981, allocations: 73.86 kB / 1.245 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001922/0.2983, allocations: 155.6 kB / 1.245 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002467/0.2985, allocations: 123.5 kB / 1.245 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.602e-05/0.2986, allocations: 36 kB / 1.245 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.2987, allocations: 63.91 kB / 1.245 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.2988, allocations: 59.77 kB / 1.245 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.299, allocations: 131.4 kB / 1.245 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004663/0.2995, allocations: 410.5 kB / 1.246 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.2995, allocations: 4 kB / 1.246 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2995, allocations: 0 / 1.246 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.2995, allocations: 0 / 1.246 GB, free: 4.82 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.0009468/0.3004, allocations: 0.6225 MB / 1.246 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.3005, allocations: 12.03 kB / 1.246 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.721e-05/0.3005, allocations: 54.61 kB / 1.247 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.927e-05/0.3006, allocations: 28.8 kB / 1.247 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000907/0.3015, allocations: 379 kB / 1.247 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.3016, allocations: 12.38 kB / 1.247 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.21e-05/0.3016, allocations: 20.38 kB / 1.247 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004644/0.3021, allocations: 214.1 kB / 1.247 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.3021, allocations: 0 / 1.247 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.3021, allocations: 8 kB / 1.247 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3021, allocations: 0 / 1.247 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005074/0.3026, allocations: 147.8 kB / 1.247 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.3038, allocations: 0.9071 MB / 1.248 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000335/0.3042, allocations: 153.1 kB / 1.248 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002497/0.3044, allocations: 84.23 kB / 1.248 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.3045, allocations: 7.938 kB / 1.248 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003831/0.3049, allocations: 163.5 kB / 1.249 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 3.407e-06/0.3049, allocations: 0 / 1.249 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0009269/0.3058, allocations: 261.4 kB / 1.249 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001387/0.3059, allocations: 162.2 kB / 1.249 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.3062, allocations: 221 kB / 1.249 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.579e-05/0.3062, allocations: 29.7 kB / 1.249 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.3064, allocations: 156.5 kB / 1.249 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.841e-05/0.3064, allocations: 31.73 kB / 1.249 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.3066, allocations: 61.67 kB / 1.249 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.3067, allocations: 338.7 kB / 1.25 GB, free: 440 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003279/0.307, allocations: 99.91 kB / 1.25 GB, free: 340 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003758/0.3074, allocations: 171.2 kB / 1.25 GB, free: 136 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006184/0.3081, allocations: 278.9 kB / 1.25 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.288e-05/0.3081, allocations: 4 kB / 1.25 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008984/0.309, allocations: 372.8 kB / 1.251 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.547e-05/0.3091, allocations: 63.39 kB / 1.251 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3091, allocations: 4 kB / 1.251 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.3091, allocations: 4 kB / 1.251 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.3093, allocations: 27.91 kB / 1.251 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.3093, allocations: 4 kB / 1.251 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004674/0.3097, allocations: 87.89 kB / 1.251 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.403e-05/0.3098, allocations: 15.98 kB / 1.251 GB, free: 15.22 MB / 0.9825 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.3099, allocations: 149.7 kB / 1.251 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.515e-05/0.31, allocations: 23.89 kB / 1.251 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.513e-05/0.31, allocations: 17.25 kB / 1.251 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.31, allocations: 4 kB / 1.251 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3101, allocations: 4 kB / 1.251 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.3101, allocations: 11.92 kB / 1.251 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002423/0.3103, allocations: 253.5 kB / 1.251 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.3103, allocations: 3.938 kB / 1.251 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.3105, allocations: 27.97 kB / 1.251 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.3105, allocations: 4 kB / 1.251 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.3105, allocations: 4 kB / 1.251 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.3105, allocations: 0 / 1.251 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.3105, allocations: 3.984 kB / 1.251 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005755/0.3111, allocations: 244.6 kB / 1.252 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.686e-05/0.3112, allocations: 105 kB / 1.252 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.3112, allocations: 7.984 kB / 1.252 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.3113, allocations: 19.97 kB / 1.252 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/0.3114, allocations: 11.98 kB / 1.252 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.3114, allocations: 7.938 kB / 1.252 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001436/0.3116, allocations: 168.5 kB / 1.252 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3116, allocations: 0 / 1.252 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002817/0.3119, allocations: 55.89 kB / 1.252 GB, free: 14 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.0009578/0.3128, allocations: 0.784 MB / 1.253 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007646/0.3136, allocations: 338.5 kB / 1.253 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3136, allocations: 0 / 1.253 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002796/0.3139, allocations: 80.44 kB / 1.253 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.3142, allocations: 52.38 kB / 1.253 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003815/0.318, allocations: 2.56 MB / 1.256 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.3184, allocations: 0.7437 MB / 1.256 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001118/0.3185, allocations: 37.53 kB / 1.256 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.746e-05/0.3186, allocations: 63.41 kB / 1.256 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.3186, allocations: 3.938 kB / 1.256 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8989/1.218, allocations: 5.352 MB / 1.262 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.14/11.36, allocations: 5.188 kB / 1.262 GB, free: 3.934 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=400 --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