Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",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.005376/0.005376, allocations: 100.1 kB / 15.73 MB, free: 6.047 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.001743/0.001743, allocations: 187.6 kB / 16.67 MB, free: 5.977 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.407/2.407, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 63.33 kB / 0.9504 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2572, allocations: 140.4 MB / 1.087 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.002935/0.2602, allocations: 1.729 MB / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001458/0.2617, allocations: 0.9007 MB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.99e-05/0.2618, allocations: 0 / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001573/0.2619, allocations: 27.73 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000344/0.2623, allocations: 123.4 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003573/0.2627, allocations: 151.5 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002946/0.263, allocations: 243.4 kB / 1.091 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.2631, allocations: 41.62 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.2633, allocations: 111.7 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01143/0.2747, allocations: 2.026 MB / 1.093 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.854e-05/0.2748, allocations: 23.94 kB / 1.093 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.817e-05/0.2749, allocations: 39.94 kB / 1.093 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.45e-05/0.275, allocations: 35.89 kB / 1.093 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.2751, allocations: 95.5 kB / 1.093 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003049/0.2754, allocations: 220.1 kB / 1.093 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.2754, allocations: 0 / 1.093 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.22e-07/0.2754, allocations: 0 / 1.093 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.2754, allocations: 0 / 1.093 GB, free: 12.8 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.0007638/0.2762, allocations: 0.545 MB / 1.094 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.2762, allocations: 12.03 kB / 1.094 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.888e-05/0.2763, allocations: 42.73 kB / 1.094 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.635e-05/0.2763, allocations: 24.66 kB / 1.094 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.2766, allocations: 251.2 kB / 1.094 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.2766, allocations: 4 kB / 1.094 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.206e-05/0.2767, allocations: 16 kB / 1.094 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.2769, allocations: 91.2 kB / 1.094 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.922e-06/0.2769, allocations: 4 kB / 1.094 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.2769, allocations: 4 kB / 1.094 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.2769, allocations: 7.984 kB / 1.094 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.277, allocations: 51.92 kB / 1.094 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007396/0.2778, allocations: 464.3 kB / 1.095 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004219/0.2782, allocations: 134.7 kB / 1.095 GB, free: 11 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.209e-05/0.2783, allocations: 40.84 kB / 1.095 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.2783, allocations: 0 / 1.095 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002117/0.2785, allocations: 107.3 kB / 1.095 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.293e-06/0.2785, allocations: 0 / 1.095 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.0003175/0.2788, allocations: 176.8 kB / 1.095 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.2789, allocations: 55.39 kB / 1.095 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.2791, allocations: 206.2 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.2791, allocations: 29.7 kB / 1.095 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.331e-05/0.2792, allocations: 128.5 kB / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.2792, allocations: 27.56 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.786e-05/0.2793, allocations: 61.67 kB / 1.095 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.2794, allocations: 330.8 kB / 1.096 GB, free: 9.797 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.054e-05/0.2795, allocations: 31.98 kB / 1.096 GB, free: 9.766 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002189/0.2797, allocations: 124.8 kB / 1.096 GB, free: 9.617 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.2799, allocations: 104.2 kB / 1.096 GB, free: 9.5 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2799, allocations: 3.938 kB / 1.096 GB, free: 9.496 MB / 0.8575 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002386/0.2801, allocations: 156 kB / 1.096 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.2802, allocations: 7.938 kB / 1.096 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.2802, allocations: 7.984 kB / 1.096 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/0.2802, allocations: 0 / 1.096 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.895e-05/0.2803, allocations: 15.94 kB / 1.096 GB, free: 9.309 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.2803, allocations: 4 kB / 1.096 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002143/0.2805, allocations: 27.83 kB / 1.096 GB, free: 9.277 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.2805, allocations: 4 kB / 1.096 GB, free: 9.273 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.0001132/0.2806, allocations: 147.5 kB / 1.096 GB, free: 9.121 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.79e-05/0.2807, allocations: 15.81 kB / 1.096 GB, free: 9.105 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.99e-05/0.2807, allocations: 21.86 kB / 1.096 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.2807, allocations: 4 kB / 1.096 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2807, allocations: 0 / 1.096 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.2807, allocations: 0 / 1.096 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006171/0.2813, allocations: 0.4903 MB / 1.097 GB, free: 8.535 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.2814, allocations: 4 kB / 1.097 GB, free: 8.531 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.497e-05/0.2814, allocations: 3.984 kB / 1.097 GB, free: 8.527 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.2814, allocations: 4 kB / 1.097 GB, free: 8.523 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.2814, allocations: 3.938 kB / 1.097 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.2814, allocations: 0 / 1.097 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.2814, allocations: 3.984 kB / 1.097 GB, free: 8.516 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002204/0.2817, allocations: 231.2 kB / 1.097 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.468e-05/0.2817, allocations: 92.92 kB / 1.097 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.2817, allocations: 11.94 kB / 1.097 GB, free: 8.152 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.2819, allocations: 16.02 kB / 1.097 GB, free: 8.137 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.398e-05/0.2819, allocations: 23.97 kB / 1.097 GB, free: 8.113 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.162e-05/0.282, allocations: 7.984 kB / 1.097 GB, free: 8.105 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001148/0.2821, allocations: 140.5 kB / 1.097 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2821, allocations: 0 / 1.097 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000299/0.2824, allocations: 43.94 kB / 1.097 GB, free: 7.926 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.0006413/0.2831, allocations: 0.8379 MB / 1.098 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002045/0.2833, allocations: 107.8 kB / 1.098 GB, free: 6.98 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2833, allocations: 0 / 1.098 GB, free: 6.98 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.732e-05/0.2834, allocations: 55.58 kB / 1.098 GB, free: 6.93 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003902/0.2838, allocations: 56.28 kB / 1.098 GB, free: 6.879 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.2856, allocations: 1.884 MB / 1.1 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.2858, allocations: 0.7242 MB / 1.101 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.825e-05/0.2859, allocations: 25.52 kB / 1.101 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.911e-05/0.286, allocations: 59.41 kB / 1.101 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.286, allocations: 0 / 1.101 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02069/0.3067, allocations: 5.699 MB / 1.107 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.554/7.861, allocations: 3.938 kB / 1.107 GB, free: 14.49 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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