Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_9_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.004928/0.004928, allocations: 102 kB / 15.73 MB, free: 6.051 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.001094/0.001094, allocations: 195 kB / 16.68 MB, free: 5.969 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.391/2.391, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 65.05 kB / 0.9504 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2629, allocations: 140.4 MB / 1.087 GB, free: 2.031 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003318/0.2662, allocations: 1.747 MB / 1.089 GB, free: 276 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001577/0.2678, allocations: 0.8891 MB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.268, allocations: 7.938 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002161/0.2683, allocations: 27.72 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004454/0.2687, allocations: 123.4 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004027/0.2691, allocations: 154.2 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003129/0.2694, allocations: 239.3 kB / 1.091 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.2696, allocations: 33.66 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.2698, allocations: 115.7 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009841/0.2796, allocations: 1.701 MB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.89e-05/0.2797, allocations: 20 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.2798, allocations: 36 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.91e-05/0.2799, allocations: 39.89 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.28, allocations: 95.44 kB / 1.093 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003878/0.2804, allocations: 216.2 kB / 1.093 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.2804, allocations: 4 kB / 1.093 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.495e-06/0.2804, allocations: 4 kB / 1.093 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.417e-05/0.2805, allocations: 0 / 1.093 GB, free: 13.04 MB / 0.8575 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.0008143/0.2813, allocations: 0.545 MB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.2813, allocations: 8.031 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.29e-05/0.2814, allocations: 42.73 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.886e-05/0.2815, allocations: 32.59 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.2817, allocations: 243.4 kB / 1.094 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.2818, allocations: 11.98 kB / 1.094 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.368e-05/0.2818, allocations: 16 kB / 1.094 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.282, allocations: 89.59 kB / 1.094 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.282, allocations: 0 / 1.094 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.282, allocations: 4 kB / 1.094 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.282, allocations: 0 / 1.094 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.2822, allocations: 57.47 kB / 1.094 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007561/0.2829, allocations: 472.2 kB / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004177/0.2834, allocations: 130.8 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.51e-05/0.2834, allocations: 36.84 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.2835, allocations: 3.938 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002409/0.2837, allocations: 119.2 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.2837, allocations: 0 / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.0003255/0.284, allocations: 157.4 kB / 1.095 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.2841, allocations: 63.41 kB / 1.095 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.2843, allocations: 202.2 kB / 1.095 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.233e-05/0.2843, allocations: 33.7 kB / 1.095 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.694e-05/0.2844, allocations: 120.5 kB / 1.095 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.377e-05/0.2845, allocations: 39.48 kB / 1.095 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.373e-05/0.2846, allocations: 57.67 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.2847, allocations: 330.8 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.458e-05/0.2847, allocations: 35.98 kB / 1.095 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/0.285, allocations: 130.4 kB / 1.096 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.2851, allocations: 102.2 kB / 1.096 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2851, allocations: 0 / 1.096 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002273/0.2854, allocations: 157.2 kB / 1.096 GB, free: 9.562 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.2854, allocations: 4 kB / 1.096 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.2854, allocations: 0 / 1.096 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.2854, allocations: 4 kB / 1.096 GB, free: 9.555 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.033e-05/0.2855, allocations: 19.94 kB / 1.096 GB, free: 9.535 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.2855, allocations: 128 / 1.096 GB, free: 9.535 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002111/0.2857, allocations: 31.81 kB / 1.096 GB, free: 9.504 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.2857, allocations: 12 kB / 1.096 GB, free: 9.492 MB / 0.8575 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.0001188/0.2859, allocations: 135.5 kB / 1.096 GB, free: 9.352 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.2859, allocations: 15.81 kB / 1.096 GB, free: 9.336 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.295e-05/0.2859, allocations: 21.86 kB / 1.096 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.2859, allocations: 0 / 1.096 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.286, allocations: 7.938 kB / 1.096 GB, free: 9.309 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.286, allocations: 4 kB / 1.096 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006445/0.2866, allocations: 497 kB / 1.097 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.2866, allocations: 4 kB / 1.097 GB, free: 8.762 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.421e-05/0.2867, allocations: 4 kB / 1.097 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.2867, allocations: 0 / 1.097 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.2867, allocations: 11.94 kB / 1.097 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.2867, allocations: 0 / 1.097 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2867, allocations: 0 / 1.097 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002091/0.2869, allocations: 231.3 kB / 1.097 GB, free: 8.504 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.345e-05/0.287, allocations: 88.92 kB / 1.097 GB, free: 8.398 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.287, allocations: 15.88 kB / 1.097 GB, free: 8.383 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.2871, allocations: 11.97 kB / 1.097 GB, free: 8.371 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.56e-05/0.2872, allocations: 15.98 kB / 1.097 GB, free: 8.355 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.448e-05/0.2872, allocations: 19.92 kB / 1.097 GB, free: 8.336 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001097/0.2874, allocations: 136.5 kB / 1.097 GB, free: 8.203 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2874, allocations: 4 kB / 1.097 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003064/0.2877, allocations: 47.94 kB / 1.097 GB, free: 8.152 MB / 0.8575 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.000683/0.2884, allocations: 0.8273 MB / 1.098 GB, free: 7.32 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002234/0.2886, allocations: 107.1 kB / 1.098 GB, free: 7.219 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2886, allocations: 4.25 kB / 1.098 GB, free: 7.215 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.162e-05/0.2887, allocations: 55.91 kB / 1.098 GB, free: 7.16 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004173/0.2891, allocations: 64.12 kB / 1.098 GB, free: 7.102 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002163/0.2913, allocations: 1.899 MB / 1.1 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.2916, allocations: 0.732 MB / 1.101 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.763e-05/0.2917, allocations: 21.55 kB / 1.101 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.888e-05/0.2918, allocations: 55.41 kB / 1.101 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of SimCode: time 6.02e-07/0.2918, allocations: 0 / 1.101 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02257/0.3144, allocations: 5.687 MB / 1.106 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.699/8.014, allocations: 8.062 kB / 1.106 GB, free: 14.7 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,plotConfiguration.active,sca.active,scaDel.active Variables in the result:booPul.period,booPul.startTime,booPul.width,booPul.y,plotConfiguration.activate,plotConfiguration.activation,plotConfiguration.activationDelay,plotConfiguration.active,plotConfiguration.samplePeriod,plotConfiguration.timeUnit,sca.activation,sca.activationDelay,sca.active,sca.n,sca.samplePeriod,sca.x,sca.y[1],scaDel.activation,scaDel.activationDelay,scaDel.active,scaDel.n,scaDel.samplePeriod,scaDel.x,scaDel.y[1],time,timeSignal.y