Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",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.0009223/0.0009223, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005174/0.005175, allocations: 168.3 kB / 16.26 MB, free: 6.652 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.325/1.325, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.426/2.426, allocations: 462.7 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003155/0.0003156, allocations: 8.406 kB / 0.9029 GB, free: 36.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2407, allocations: 159.6 MB / 1.059 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.001866/0.2426, allocations: 1.552 MB / 1.06 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001274/0.2439, allocations: 0.9242 MB / 1.061 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.935e-05/0.2439, allocations: 4 kB / 1.061 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000146/0.2441, allocations: 27.8 kB / 1.061 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002376/0.2443, allocations: 95.64 kB / 1.061 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002848/0.2446, allocations: 138.6 kB / 1.061 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002203/0.2449, allocations: 231.4 kB / 1.062 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.245, allocations: 29.64 kB / 1.062 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.2451, allocations: 99.62 kB / 1.062 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04732/0.2924, allocations: 3.312 MB / 1.065 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.227e-05/0.2925, allocations: 12 kB / 1.065 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.453e-05/0.2926, allocations: 24 kB / 1.065 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.796e-05/0.2927, allocations: 35.88 kB / 1.065 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.2928, allocations: 109.2 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002301/0.293, allocations: 203.3 kB / 1.065 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.293, allocations: 0 / 1.065 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.112e-06/0.293, allocations: 0 / 1.065 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.293, allocations: 3.938 kB / 1.065 GB, free: 14.87 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006609/0.2937, allocations: 0.5177 MB / 1.066 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.2938, allocations: 11.97 kB / 1.066 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.709e-05/0.2938, allocations: 42.73 kB / 1.066 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.147e-05/0.2939, allocations: 24.75 kB / 1.066 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.2941, allocations: 247.2 kB / 1.066 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.2941, allocations: 8 kB / 1.066 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.623e-05/0.2942, allocations: 19.98 kB / 1.066 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.2943, allocations: 89.66 kB / 1.066 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.61e-06/0.2943, allocations: 0 / 1.066 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.2944, allocations: 0 / 1.066 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.2944, allocations: 0 / 1.066 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.2945, allocations: 61.41 kB / 1.066 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006699/0.2951, allocations: 464.5 kB / 1.067 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004074/0.2956, allocations: 162.7 kB / 1.067 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.629e-05/0.2956, allocations: 36.84 kB / 1.067 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.2957, allocations: 3.938 kB / 1.067 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000165/0.2958, allocations: 115.1 kB / 1.067 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.413e-06/0.2958, allocations: 0 / 1.067 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.000282/0.2961, allocations: 165.4 kB / 1.067 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.2963, allocations: 63.39 kB / 1.067 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.2965, allocations: 196.2 kB / 1.068 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/0.2965, allocations: 33.7 kB / 1.068 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.257e-05/0.2966, allocations: 120.5 kB / 1.068 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.2966, allocations: 31.56 kB / 1.068 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.591e-05/0.2967, allocations: 29.7 kB / 1.068 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.2968, allocations: 330.8 kB / 1.068 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.908e-05/0.2968, allocations: 31.98 kB / 1.068 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002111/0.2971, allocations: 132.1 kB / 1.068 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.2972, allocations: 102.6 kB / 1.068 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.2972, allocations: 4 kB / 1.068 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002148/0.2974, allocations: 147.2 kB / 1.068 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.2974, allocations: 8 kB / 1.068 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.2974, allocations: 3.984 kB / 1.068 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.2975, allocations: 4 kB / 1.068 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.208e-05/0.2975, allocations: 15.94 kB / 1.068 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.2975, allocations: 0 / 1.068 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.2977, allocations: 35.95 kB / 1.069 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.2978, allocations: 12 kB / 1.069 GB, free: 11.37 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y,scaDel.sampleTrigger,scaDel.tActivateLast,$PRE.scaDel.tActivateLast,scaDel.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * 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.0001202/0.2979, allocations: 147.4 kB / 1.069 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.373e-05/0.2979, allocations: 15.81 kB / 1.069 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.132e-05/0.298, allocations: 25.89 kB / 1.069 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.298, allocations: 0 / 1.069 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.298, allocations: 4 kB / 1.069 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.298, allocations: 0 / 1.069 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000596/0.2986, allocations: 0.5011 MB / 1.069 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2986, allocations: 0 / 1.069 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.555e-05/0.2986, allocations: 7.984 kB / 1.069 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2986, allocations: 7.875 kB / 1.069 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.2987, allocations: 4 kB / 1.069 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.928e-06/0.2987, allocations: 3.938 kB / 1.069 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2987, allocations: 0 / 1.069 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002029/0.2989, allocations: 231.3 kB / 1.069 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.581e-05/0.2989, allocations: 92.83 kB / 1.07 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.299, allocations: 7.984 kB / 1.07 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.2991, allocations: 23.92 kB / 1.07 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.992e-05/0.2992, allocations: 23.97 kB / 1.07 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.2992, allocations: 4 kB / 1.07 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001121/0.2993, allocations: 144.2 kB / 1.07 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2993, allocations: 0 / 1.07 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002744/0.2996, allocations: 44 kB / 1.07 GB, free: 10 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.5849/0.8845, allocations: 0.8329 MB / 1.071 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003502/0.8849, allocations: 103.8 kB / 1.071 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.8849, allocations: 0 / 1.071 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.885, allocations: 55.91 kB / 1.071 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000596/0.8856, allocations: 59.83 kB / 1.071 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002338/0.888, allocations: 1.944 MB / 1.073 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.8883, allocations: 0.7167 MB / 1.073 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.519e-05/0.8884, allocations: 21.53 kB / 1.073 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.8885, allocations: 59.41 kB / 1.073 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.8885, allocations: 0 / 1.073 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1852/1.074, allocations: 5.085 MB / 1.078 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004341/1.074, allocations: 283.6 kB / 1.079 GB, free: 0.8242 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.904/2.978, allocations: 4 kB / 1.079 GB, free: 0.8203 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches