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.0009285/0.0009285, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005615/0.005615, allocations: 170.7 kB / 16.26 MB, free: 6.613 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.306/1.306, allocations: 223.3 MB / 240.3 MB, free: 5.363 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.491/2.491, allocations: 437.8 MB / 0.7121 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000322/0.000322, allocations: 8 kB / 0.8729 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5824/0.5828, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.002126/0.5849, allocations: 1.539 MB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001568/0.5865, allocations: 0.9321 MB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.898e-05/0.5866, allocations: 0 / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001667/0.5868, allocations: 23.86 kB / 1.026 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002922/0.5871, allocations: 87.59 kB / 1.026 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000344/0.5875, allocations: 147.7 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002418/0.5877, allocations: 235.3 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.5879, allocations: 37.66 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.588, allocations: 99.69 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.05556/0.6436, allocations: 3.561 MB / 1.03 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.949e-05/0.6436, allocations: 11.94 kB / 1.03 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.6438, allocations: 39.98 kB / 1.03 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.546e-05/0.6438, allocations: 31.84 kB / 1.03 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.644, allocations: 105.3 kB / 1.03 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002772/0.6443, allocations: 203.3 kB / 1.03 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.6443, allocations: 0 / 1.03 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.996e-06/0.6443, allocations: 0 / 1.03 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.6443, allocations: 3.938 kB / 1.03 GB, free: 9.695 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.0007529/0.645, allocations: 0.5216 MB / 1.031 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.6451, allocations: 8.031 kB / 1.031 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.584e-05/0.6451, allocations: 42.73 kB / 1.031 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.112e-05/0.6452, allocations: 20.75 kB / 1.031 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000269/0.6455, allocations: 247.3 kB / 1.031 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.6455, allocations: 12 kB / 1.031 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.505e-05/0.6456, allocations: 15.94 kB / 1.031 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.6458, allocations: 111.4 kB / 1.031 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.6458, allocations: 0 / 1.031 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.6458, allocations: 4 kB / 1.031 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.6458, allocations: 4 kB / 1.031 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.6459, allocations: 51.97 kB / 1.031 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008349/0.6468, allocations: 0.5551 MB / 1.032 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.6469, allocations: 101.1 kB / 1.032 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.827e-05/0.647, allocations: 37.78 kB / 1.032 GB, free: 7.777 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.6471, allocations: 11.92 kB / 1.032 GB, free: 7.766 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001828/0.6472, allocations: 121.2 kB / 1.032 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.352e-06/0.6472, allocations: 0 / 1.032 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0003212/0.6476, allocations: 159.3 kB / 1.032 GB, free: 7.469 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.6476, allocations: 89.03 kB / 1.032 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.6478, allocations: 206.5 kB / 1.032 GB, free: 7.148 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.6479, allocations: 33.7 kB / 1.032 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.788e-05/0.648, allocations: 120.4 kB / 1.032 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.272e-05/0.648, allocations: 35.67 kB / 1.032 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.913e-05/0.6481, allocations: 29.7 kB / 1.032 GB, free: 6.914 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.6482, allocations: 326.8 kB / 1.033 GB, free: 6.586 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.701e-05/0.6482, allocations: 35.98 kB / 1.033 GB, free: 6.551 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/0.6485, allocations: 137.9 kB / 1.033 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.6486, allocations: 109.9 kB / 1.033 GB, free: 6.254 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.6486, allocations: 0 / 1.033 GB, free: 6.254 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002612/0.6489, allocations: 166 kB / 1.033 GB, free: 6.086 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.6489, allocations: 4 kB / 1.033 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.6489, allocations: 0 / 1.033 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.6489, allocations: 4 kB / 1.033 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.653e-05/0.649, allocations: 19.94 kB / 1.033 GB, free: 6.059 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.6491, allocations: 7.984 kB / 1.033 GB, free: 6.051 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000234/0.6493, allocations: 28.05 kB / 1.033 GB, free: 6.023 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.6493, allocations: 12 kB / 1.033 GB, free: 6.012 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.0001255/0.6494, allocations: 143.4 kB / 1.033 GB, free: 5.863 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.848e-05/0.6495, allocations: 15.81 kB / 1.033 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.332e-05/0.6495, allocations: 25.55 kB / 1.033 GB, free: 5.828 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.6495, allocations: 7.984 kB / 1.033 GB, free: 5.82 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.6496, allocations: 0 / 1.033 GB, free: 5.82 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.6496, allocations: 0 / 1.033 GB, free: 5.82 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00079/0.6504, allocations: 480 kB / 1.034 GB, free: 5.297 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.6504, allocations: 0 / 1.034 GB, free: 5.297 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.682e-05/0.6504, allocations: 11.88 kB / 1.034 GB, free: 5.285 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.6504, allocations: 0 / 1.034 GB, free: 5.285 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.6504, allocations: 3.984 kB / 1.034 GB, free: 5.281 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/0.6504, allocations: 15.94 kB / 1.034 GB, free: 5.266 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.6504, allocations: 0 / 1.034 GB, free: 5.266 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.6507, allocations: 224.1 kB / 1.034 GB, free: 5.027 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.913e-05/0.6507, allocations: 96.91 kB / 1.034 GB, free: 4.914 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.6508, allocations: 4 kB / 1.034 GB, free: 4.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.6509, allocations: 23.92 kB / 1.034 GB, free: 4.887 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.981e-05/0.651, allocations: 19.97 kB / 1.034 GB, free: 4.867 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.651, allocations: 11.98 kB / 1.034 GB, free: 4.855 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001174/0.6511, allocations: 139.2 kB / 1.034 GB, free: 4.719 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.553e-06/0.6511, allocations: 0 / 1.034 GB, free: 4.719 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003196/0.6515, allocations: 51.88 kB / 1.034 GB, free: 4.668 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.0006711/0.6521, allocations: 0.845 MB / 1.035 GB, free: 3.816 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002186/0.6524, allocations: 103.8 kB / 1.035 GB, free: 3.715 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.6524, allocations: 0 / 1.035 GB, free: 3.715 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.192e-05/0.6525, allocations: 47.92 kB / 1.035 GB, free: 3.668 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00044/0.6529, allocations: 62.28 kB / 1.036 GB, free: 3.609 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001952/0.6549, allocations: 1.947 MB / 1.037 GB, free: 1.535 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.6552, allocations: 0.7284 MB / 1.038 GB, free: 0.7812 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.011e-05/0.6552, allocations: 17.55 kB / 1.038 GB, free: 0.7656 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.32e-05/0.6553, allocations: 59.03 kB / 1.038 GB, free: 0.7148 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.6553, allocations: 0 / 1.038 GB, free: 0.7148 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01579/0.6711, allocations: 5.04 MB / 1.043 GB, free: 11.88 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002196/0.6714, allocations: 287.9 kB / 1.043 GB, free: 11.5 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.891/2.563, allocations: 0 / 1.043 GB, free: 11.5 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