Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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.BooleanExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",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.001302/0.001302, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00137/0.001371, allocations: 192.6 kB / 16.13 MB, free: 6.645 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.236/1.236, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.492/2.492, allocations: 461.8 MB / 0.7342 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.00129, allocations: 63.61 kB / 0.8985 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2842, allocations: 157.4 MB / 1.052 GB, free: 8.227 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001879/0.2861, allocations: 0.7661 MB / 1.053 GB, free: 7.457 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001507/0.2876, allocations: 1.28 MB / 1.054 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.117e-05/0.2877, allocations: 4 kB / 1.054 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.2878, allocations: 11.86 kB / 1.054 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.004e-05/0.2879, allocations: 15.86 kB / 1.054 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006125/0.2885, allocations: 210 kB / 1.054 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002142/0.2887, allocations: 223.6 kB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.2888, allocations: 35.98 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001531/0.289, allocations: 95.73 kB / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.2892, allocations: 95.77 kB / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.587e-05/0.2893, allocations: 12 kB / 1.055 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.552e-05/0.2894, allocations: 27.97 kB / 1.055 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.462e-05/0.2894, allocations: 31.91 kB / 1.055 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.852e-05/0.2895, allocations: 75.64 kB / 1.055 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002407/0.2898, allocations: 207.6 kB / 1.055 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2898, allocations: 0 / 1.055 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2898, allocations: 4 kB / 1.055 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.2898, allocations: 0 / 1.055 GB, free: 5.141 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005787/0.2904, allocations: 498.4 kB / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.2905, allocations: 15.97 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.276e-05/0.2905, allocations: 46.73 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.624e-05/0.2906, allocations: 24.69 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005869/0.2912, allocations: 254.7 kB / 1.056 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.2912, allocations: 12.38 kB / 1.056 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.621e-05/0.2912, allocations: 16.38 kB / 1.056 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/0.2915, allocations: 138.9 kB / 1.056 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.2915, allocations: 4 kB / 1.056 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.2915, allocations: 0 / 1.056 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.2915, allocations: 4 kB / 1.056 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.81e-05/0.2916, allocations: 47.91 kB / 1.056 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006659/0.2923, allocations: 0.6611 MB / 1.057 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.204e-05/0.2923, allocations: 45.08 kB / 1.057 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.387e-05/0.2924, allocations: 17.84 kB / 1.057 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.411e-06/0.2924, allocations: 7.938 kB / 1.057 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001685/0.2926, allocations: 89.08 kB / 1.057 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.2926, allocations: 0 / 1.057 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0002214/0.2928, allocations: 101.4 kB / 1.057 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.2929, allocations: 89.11 kB / 1.057 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.293, allocations: 176 kB / 1.057 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.293, allocations: 29.7 kB / 1.057 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.071e-05/0.2931, allocations: 119.9 kB / 1.058 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.205e-05/0.2931, allocations: 11.81 kB / 1.058 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.832e-05/0.2932, allocations: 57.69 kB / 1.058 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.946e-05/0.2933, allocations: 322.8 kB / 1.058 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.2935, allocations: 55.95 kB / 1.058 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.2936, allocations: 110.7 kB / 1.058 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001794/0.2938, allocations: 174.1 kB / 1.058 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2938, allocations: 0 / 1.058 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003878/0.2942, allocations: 272.7 kB / 1.058 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.404e-05/0.2942, allocations: 59.41 kB / 1.059 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.2942, allocations: 256 / 1.059 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.2943, allocations: 8 kB / 1.059 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.886e-05/0.2943, allocations: 7.984 kB / 1.059 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.2943, allocations: 4 kB / 1.059 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002954/0.2946, allocations: 59.78 kB / 1.059 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.835e-05/0.2946, allocations: 8 kB / 1.059 GB, free: 1.273 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 10 (booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4,booPul1.y,$PRE.booPul1.y,$whenCondition1,$whenCondition2,con.y,con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * 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.000132/0.2948, allocations: 149.8 kB / 1.059 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.133e-05/0.2948, allocations: 11.84 kB / 1.059 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.488e-05/0.2948, allocations: 12.25 kB / 1.059 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.2949, allocations: 4 kB / 1.059 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.2949, allocations: 0 / 1.059 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2949, allocations: 0 / 1.059 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.295, allocations: 205.5 kB / 1.059 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.295, allocations: 8 kB / 1.059 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.099e-05/0.2951, allocations: 4 kB / 1.059 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.2951, allocations: 0 / 1.059 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.2951, allocations: 11.98 kB / 1.059 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.2951, allocations: 0 / 1.059 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2951, allocations: 0 / 1.059 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001417/0.2952, allocations: 114.1 kB / 1.059 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.415e-05/0.2953, allocations: 88.92 kB / 1.059 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.2953, allocations: 11.98 kB / 1.059 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.228e-05/0.2954, allocations: 0 / 1.059 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.892e-05/0.2954, allocations: 11.98 kB / 1.059 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.2954, allocations: 0 / 1.059 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001001/0.2955, allocations: 120.8 kB / 1.059 GB, free: 444 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2955, allocations: 0 / 1.059 GB, free: 444 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002517/0.2958, allocations: 31.94 kB / 1.059 GB, free: 412 kB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul.y,$whenCondition1,$whenCondition2,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0004424/0.2962, allocations: 0.6676 MB / 1.06 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003012/0.2965, allocations: 226.7 kB / 1.06 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2965, allocations: 7.938 kB / 1.06 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.016e-05/0.2966, allocations: 27.92 kB / 1.06 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.2968, allocations: 20.52 kB / 1.06 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001959/0.2988, allocations: 1.922 MB / 1.062 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.299, allocations: 0.7121 MB / 1.063 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.074e-05/0.2991, allocations: 8.875 kB / 1.063 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.356e-05/0.2992, allocations: 48.8 kB / 1.063 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of SimCode: time 2.796e-06/0.2992, allocations: 0 / 1.063 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01307/0.3122, allocations: 3.225 MB / 1.066 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002517/0.3125, allocations: 229.9 kB / 1.066 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.665/1.977, allocations: 4 kB / 1.066 GB, free: 9.219 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches