Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_10_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.001707/0.001707, 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.001923/0.001923, allocations: 193.2 kB / 16.14 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.252/1.252, allocations: 222.9 MB / 239.8 MB, free: 4.598 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.439/2.439, allocations: 437 MB / 0.7099 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 71.88 kB / 0.8687 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5888/0.5904, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003517/0.5939, allocations: 1.893 MB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001685/0.5956, allocations: 0.9399 MB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.5958, allocations: 11.88 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002109/0.596, allocations: 19.86 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003443/0.5964, allocations: 91.66 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004137/0.5968, allocations: 144.9 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002762/0.5971, allocations: 231.2 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.5973, allocations: 29.67 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.5974, allocations: 103.7 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02767/0.6251, allocations: 1.854 MB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.551e-05/0.6252, allocations: 12 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.6253, allocations: 31.98 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.949e-05/0.6254, allocations: 35.84 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001292/0.6255, allocations: 87.5 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002738/0.6258, allocations: 199.3 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.6258, allocations: 0 / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.61e-07/0.6258, allocations: 7.938 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.6258, allocations: 0 / 1.022 GB, free: 13.52 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008413/0.6267, allocations: 0.5464 MB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.6267, allocations: 8.031 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.675e-05/0.6268, allocations: 46.67 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.973e-05/0.6269, allocations: 20.75 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002832/0.6272, allocations: 247.3 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.6272, allocations: 12 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.48e-05/0.6272, allocations: 16 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.6274, allocations: 85.66 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.6274, allocations: 11.94 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.6275, allocations: 3.984 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.6275, allocations: 0 / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/0.6276, allocations: 51.97 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000776/0.6284, allocations: 476.2 kB / 1.024 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004321/0.6288, allocations: 130.7 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.666e-05/0.6289, allocations: 44.84 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.6289, allocations: 0 / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001779/0.6291, allocations: 111.2 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.442e-06/0.6291, allocations: 0 / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0003287/0.6294, allocations: 168.2 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.6295, allocations: 55.39 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.6297, allocations: 198.5 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/0.6297, allocations: 37.7 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.878e-05/0.6298, allocations: 124.4 kB / 1.025 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.6298, allocations: 31.61 kB / 1.025 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.024e-05/0.6299, allocations: 53.69 kB / 1.025 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.6301, allocations: 330.8 kB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.292e-05/0.6301, allocations: 35.98 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000232/0.6304, allocations: 136.9 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.6305, allocations: 95.05 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6305, allocations: 0 / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002439/0.6308, allocations: 161.2 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.6308, allocations: 4 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.6308, allocations: 4 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.6308, allocations: 0 / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.032e-05/0.6309, allocations: 16 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.6309, allocations: 7.938 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/0.6311, allocations: 31.81 kB / 1.025 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.6312, allocations: 12.06 kB / 1.025 GB, free: 9.973 MB / 0.7794 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.0001181/0.6313, allocations: 135.5 kB / 1.026 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/0.6313, allocations: 15.81 kB / 1.026 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.152e-05/0.6314, allocations: 21.86 kB / 1.026 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.6314, allocations: 4 kB / 1.026 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.6314, allocations: 3.938 kB / 1.026 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.6314, allocations: 0 / 1.026 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006405/0.632, allocations: 0.4903 MB / 1.026 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.632, allocations: 0 / 1.026 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.674e-05/0.6321, allocations: 7.938 kB / 1.026 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.6321, allocations: 0 / 1.026 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.6321, allocations: 7.938 kB / 1.026 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.6321, allocations: 4 kB / 1.026 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.6321, allocations: 0 / 1.026 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.6323, allocations: 231.2 kB / 1.026 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.188e-05/0.6324, allocations: 92.86 kB / 1.026 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.018e-05/0.6324, allocations: 15.92 kB / 1.026 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.6326, allocations: 7.984 kB / 1.026 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.3e-05/0.6327, allocations: 28 kB / 1.026 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-05/0.6327, allocations: 4 kB / 1.026 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001143/0.6328, allocations: 147.2 kB / 1.027 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6328, allocations: 0 / 1.027 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003078/0.6331, allocations: 48 kB / 1.027 GB, free: 8.629 MB / 0.7794 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.0007027/0.6339, allocations: 0.8313 MB / 1.027 GB, free: 7.797 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002152/0.6341, allocations: 107.7 kB / 1.028 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.6341, allocations: 0 / 1.028 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.49e-05/0.6342, allocations: 56.16 kB / 1.028 GB, free: 7.637 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004163/0.6346, allocations: 69.2 kB / 1.028 GB, free: 7.57 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.6365, allocations: 1.904 MB / 1.03 GB, free: 5.566 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.6368, allocations: 0.7206 MB / 1.03 GB, free: 4.82 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.853e-05/0.6369, allocations: 29.53 kB / 1.03 GB, free: 4.789 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.119e-05/0.637, allocations: 55.41 kB / 1.03 GB, free: 4.738 MB / 0.7794 GB Notification: Performance of SimCode: time 3.61e-07/0.637, allocations: 0 / 1.03 GB, free: 4.738 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01543/0.6524, allocations: 5.185 MB / 1.035 GB, free: 15.75 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000217/0.6526, allocations: 287.5 kB / 1.036 GB, free: 15.36 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.837/2.489, allocations: 3.938 kB / 1.036 GB, free: 15.36 MB / 0.795 GB (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches