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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001028/0.001028, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007206/0.007207, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.351/1.351, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.687/2.687, allocations: 462.6 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003345/0.0003347, allocations: 8.594 kB / 0.9029 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3076, allocations: 159.6 MB / 1.059 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001303/0.3089, allocations: 0.7206 MB / 1.059 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001873/0.3108, allocations: 1.361 MB / 1.061 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.742e-05/0.3109, allocations: 4 kB / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.311, allocations: 11.88 kB / 1.061 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.3112, allocations: 39.7 kB / 1.061 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007424/0.3119, allocations: 245.3 kB / 1.061 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003908/0.3123, allocations: 339.3 kB / 1.061 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001899/0.3125, allocations: 61.66 kB / 1.061 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002458/0.3128, allocations: 123.6 kB / 1.062 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002891/0.3131, allocations: 131.5 kB / 1.062 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.917e-05/0.3131, allocations: 12 kB / 1.062 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.683e-05/0.3132, allocations: 31.98 kB / 1.062 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.555e-05/0.3133, allocations: 47.81 kB / 1.062 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001349/0.3134, allocations: 133.1 kB / 1.062 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003322/0.3138, allocations: 351 kB / 1.062 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3138, allocations: 0 / 1.062 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.607e-06/0.3138, allocations: 4 kB / 1.062 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.3138, allocations: 4 kB / 1.062 GB, free: 1.238 MB / 0.8106 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.0008953/0.3147, allocations: 0.5682 MB / 1.063 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.3148, allocations: 19.97 kB / 1.063 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.063e-05/0.3148, allocations: 46.67 kB / 1.063 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.208e-05/0.3149, allocations: 32.66 kB / 1.063 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009395/0.3159, allocations: 384.3 kB / 1.063 GB, free: 92 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.18e-05/0.3159, allocations: 16.36 kB / 1.063 GB, free: 76 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.992e-05/0.316, allocations: 28.25 kB / 1.063 GB, free: 48 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004778/0.3165, allocations: 210.7 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.3165, allocations: 4 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.3165, allocations: 8 kB / 1.064 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.3165, allocations: 4 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005227/0.317, allocations: 175.7 kB / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.3182, allocations: 0.9187 MB / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003349/0.3186, allocations: 169 kB / 1.065 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002646/0.3189, allocations: 100.2 kB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.3189, allocations: 0 / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000439/0.3193, allocations: 175.5 kB / 1.065 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.3193, allocations: 0 / 1.065 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.0009385/0.3203, allocations: 297.3 kB / 1.065 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.832e-05/0.3204, allocations: 162.3 kB / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/0.3206, allocations: 225 kB / 1.066 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.529e-05/0.3207, allocations: 29.7 kB / 1.066 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.3208, allocations: 156.2 kB / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.3208, allocations: 35.55 kB / 1.066 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.196e-05/0.3209, allocations: 21.72 kB / 1.066 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.321, allocations: 334.8 kB / 1.066 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003461/0.3214, allocations: 115.9 kB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003662/0.3217, allocations: 171.6 kB / 1.067 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006238/0.3224, allocations: 302.9 kB / 1.067 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.3224, allocations: 0 / 1.067 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008797/0.3233, allocations: 392.6 kB / 1.067 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.557e-05/0.3233, allocations: 64.95 kB / 1.067 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.3233, allocations: 4 kB / 1.067 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.3234, allocations: 128 / 1.067 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.3235, allocations: 39.91 kB / 1.067 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.3236, allocations: 7.938 kB / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000441/0.324, allocations: 95.83 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.284e-05/0.3241, allocations: 15.98 kB / 1.067 GB, free: 11.53 MB / 0.8262 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.0001513/0.3242, allocations: 161.6 kB / 1.068 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.261e-05/0.3242, allocations: 19.8 kB / 1.068 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.719e-05/0.3243, allocations: 21.25 kB / 1.068 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.3243, allocations: 4 kB / 1.068 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3243, allocations: 0 / 1.068 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.3243, allocations: 3.984 kB / 1.068 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002164/0.3245, allocations: 257.5 kB / 1.068 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.3246, allocations: 0 / 1.068 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/0.3247, allocations: 35.97 kB / 1.068 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3247, allocations: 0 / 1.068 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.3247, allocations: 4 kB / 1.068 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/0.3247, allocations: 3.984 kB / 1.068 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.3248, allocations: 7.938 kB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000579/0.3253, allocations: 264.1 kB / 1.068 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.629e-05/0.3254, allocations: 96.84 kB / 1.068 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/0.3254, allocations: 4 kB / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.3256, allocations: 27.97 kB / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.39e-05/0.3257, allocations: 19.86 kB / 1.068 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.3257, allocations: 11.94 kB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001385/0.3258, allocations: 160.5 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3258, allocations: 0 / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003019/0.3261, allocations: 51.84 kB / 1.069 GB, free: 10.29 MB / 0.8262 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.0008877/0.327, allocations: 0.8073 MB / 1.069 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007484/0.3278, allocations: 358.6 kB / 1.07 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.3278, allocations: 0 / 1.07 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002877/0.3281, allocations: 96.25 kB / 1.07 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.3285, allocations: 56.52 kB / 1.07 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003794/0.3323, allocations: 2.656 MB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.3326, allocations: 0.7479 MB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001401/0.3328, allocations: 33.53 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.635e-05/0.3329, allocations: 67.41 kB / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of SimCode: time 4.61e-07/0.3329, allocations: 4 kB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01557/0.3484, allocations: 4.692 MB / 1.078 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002242/0.3487, allocations: 221.2 kB / 1.078 GB, free: 488 kB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.82/2.168, allocations: 1.125 kB / 1.078 GB, free: 488 kB / 0.8262 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