Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",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.001962/0.001962, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.002328/0.002328, allocations: 196.8 kB / 16.14 MB, free: 6.734 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.317/1.317, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.479/2.479, allocations: 437 MB / 0.7099 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002287/0.002288, allocations: 55.91 kB / 0.8686 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5514/0.5537, allocations: 151.6 MB / 1.017 GB, free: 2.891 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.002895/0.5567, allocations: 1.897 MB / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001344/0.558, allocations: 0.9398 MB / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.805e-05/0.5581, allocations: 7.938 kB / 1.019 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001588/0.5583, allocations: 19.86 kB / 1.02 GB, free: 12 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002526/0.5585, allocations: 87.66 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002934/0.5588, allocations: 143.7 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002139/0.5591, allocations: 219.4 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.5592, allocations: 45.66 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.5593, allocations: 107.5 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0261/0.5854, allocations: 1.821 MB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.226e-05/0.5855, allocations: 8 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.512e-05/0.5856, allocations: 31.98 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.067e-05/0.5856, allocations: 39.83 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.5858, allocations: 87.5 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.586, allocations: 199.3 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.586, allocations: 4 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.61e-07/0.586, allocations: 0 / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.586, allocations: 0 / 1.022 GB, free: 13.67 MB / 0.7794 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.0007698/0.5868, allocations: 0.5567 MB / 1.023 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.5868, allocations: 8.031 kB / 1.023 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.183e-05/0.5869, allocations: 38.75 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.913e-05/0.587, allocations: 20.75 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002638/0.5872, allocations: 255.2 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.5873, allocations: 8 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.286e-05/0.5873, allocations: 16 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.5875, allocations: 107.4 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.5875, allocations: 0 / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.5875, allocations: 7.984 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.443e-06/0.5875, allocations: 4 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.5877, allocations: 55.91 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008023/0.5885, allocations: 0.5434 MB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.5887, allocations: 97.31 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.745e-05/0.5887, allocations: 49.7 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.5888, allocations: 3.938 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001823/0.589, allocations: 115.9 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 4.037e-06/0.589, allocations: 3.984 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0003358/0.5893, allocations: 170.3 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.5894, allocations: 85.09 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.5896, allocations: 194.5 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.42e-05/0.5896, allocations: 37.64 kB / 1.025 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.16e-05/0.5897, allocations: 128.4 kB / 1.025 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.162e-05/0.5897, allocations: 35.77 kB / 1.025 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.295e-05/0.5898, allocations: 61.58 kB / 1.025 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.59, allocations: 334.8 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.685e-05/0.59, allocations: 27.98 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002389/0.5903, allocations: 140.1 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.5904, allocations: 119.4 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.5904, allocations: 0 / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003076/0.5908, allocations: 169.3 kB / 1.025 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.5908, allocations: 4 kB / 1.025 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.5908, allocations: 0 / 1.025 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.5908, allocations: 4 kB / 1.025 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.5909, allocations: 15.94 kB / 1.026 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/0.591, allocations: 7.984 kB / 1.026 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003126/0.5913, allocations: 27.83 kB / 1.026 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.5913, allocations: 4.156 kB / 1.026 GB, free: 9.922 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,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,$whenCondition1,$whenCondition3,$whenCondition4,plotConfiguration.activate_internal) * 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.0001712/0.5915, allocations: 147.5 kB / 1.026 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.665e-05/0.5915, allocations: 15.81 kB / 1.026 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.442e-05/0.5916, allocations: 21.52 kB / 1.026 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.5916, allocations: 0 / 1.026 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.5916, allocations: 4 kB / 1.026 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.5916, allocations: 0 / 1.026 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008535/0.5925, allocations: 467.7 kB / 1.026 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.5925, allocations: 0 / 1.026 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.128e-05/0.5926, allocations: 4 kB / 1.026 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.5926, allocations: 0 / 1.026 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/0.5926, allocations: 11.92 kB / 1.026 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/0.5926, allocations: 4 kB / 1.026 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.5927, allocations: 0 / 1.026 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003691/0.593, allocations: 232.1 kB / 1.026 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.831e-05/0.5931, allocations: 92.91 kB / 1.026 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.847e-05/0.5932, allocations: 7.938 kB / 1.027 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002132/0.5934, allocations: 15.98 kB / 1.027 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.288e-05/0.5935, allocations: 15.97 kB / 1.027 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.559e-05/0.5935, allocations: 12 kB / 1.027 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002331/0.5938, allocations: 135.2 kB / 1.027 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.875e-06/0.5938, allocations: 4 kB / 1.027 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004449/0.5942, allocations: 63.77 kB / 1.027 GB, free: 8.598 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.0008445/0.5951, allocations: 0.8427 MB / 1.028 GB, free: 7.75 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002804/0.5954, allocations: 100.1 kB / 1.028 GB, free: 7.652 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.89e-06/0.5954, allocations: 4.125 kB / 1.028 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.5955, allocations: 51.92 kB / 1.028 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005444/0.5961, allocations: 47.81 kB / 1.028 GB, free: 7.551 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002469/0.5986, allocations: 1.953 MB / 1.03 GB, free: 5.477 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.5989, allocations: 0.7206 MB / 1.03 GB, free: 4.73 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.417e-05/0.599, allocations: 17.55 kB / 1.03 GB, free: 4.715 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.5991, allocations: 59.41 kB / 1.03 GB, free: 4.66 MB / 0.7794 GB Notification: Performance of SimCode: time 3.3e-07/0.5991, allocations: 7.938 kB / 1.03 GB, free: 4.652 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0182/0.6173, allocations: 5.147 MB / 1.035 GB, free: 15.7 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002673/0.6176, allocations: 277.4 kB / 1.036 GB, free: 15.32 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.826/2.444, allocations: 0 / 1.036 GB, free: 15.32 MB / 0.795 GB (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.fmu > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches