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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001325/0.001325, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001362/0.001362, allocations: 190.8 kB / 16.25 MB, free: 6.637 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.375/1.375, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.597/2.597, allocations: 437 MB / 0.7101 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 71.89 kB / 0.8688 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7699/0.7714, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003649/0.7751, allocations: 1.901 MB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001611/0.7767, allocations: 0.9281 MB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.7769, allocations: 3.938 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001906/0.7771, allocations: 15.86 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003512/0.7774, allocations: 103.6 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003657/0.7778, allocations: 143.8 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002941/0.7781, allocations: 243.3 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.7783, allocations: 45.64 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.7785, allocations: 111.7 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02582/0.8043, allocations: 1.966 MB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.874e-05/0.8044, allocations: 24 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.8045, allocations: 39.98 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.408e-05/0.8046, allocations: 39.84 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.8048, allocations: 103.4 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003575/0.8051, allocations: 207.3 kB / 1.023 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.8052, allocations: 0 / 1.023 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.232e-06/0.8052, allocations: 4 kB / 1.023 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.727e-06/0.8052, allocations: 0 / 1.023 GB, free: 13.36 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.0008652/0.806, allocations: 0.5489 MB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.8061, allocations: 11.97 kB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.142e-05/0.8062, allocations: 54.67 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.326e-05/0.8062, allocations: 20.75 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.8065, allocations: 243.3 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.8066, allocations: 8 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.099e-05/0.8066, allocations: 12 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.8068, allocations: 121.2 kB / 1.024 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.8068, allocations: 0 / 1.024 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.8068, allocations: 4 kB / 1.024 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.8069, allocations: 4 kB / 1.024 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.807, allocations: 47.97 kB / 1.024 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008298/0.8078, allocations: 0.5473 MB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.808, allocations: 101.2 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.986e-05/0.808, allocations: 41.77 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.8081, allocations: 3.938 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001931/0.8083, allocations: 128.2 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 2.004e-06/0.8083, allocations: 0 / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.000335/0.8086, allocations: 153.6 kB / 1.025 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/0.8087, allocations: 93.17 kB / 1.025 GB, free: 11 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.8089, allocations: 202.4 kB / 1.025 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.646e-05/0.8089, allocations: 33.7 kB / 1.025 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.367e-05/0.809, allocations: 128.4 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/0.8091, allocations: 31.64 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.086e-05/0.8092, allocations: 53.69 kB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.8093, allocations: 330.8 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.888e-05/0.8093, allocations: 31.98 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/0.8096, allocations: 144.9 kB / 1.026 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.8097, allocations: 113.9 kB / 1.026 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.644e-06/0.8097, allocations: 3.938 kB / 1.026 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002462/0.81, allocations: 157.3 kB / 1.026 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.81, allocations: 4 kB / 1.026 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.81, allocations: 4 kB / 1.026 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.8101, allocations: 4.156 kB / 1.026 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.643e-05/0.8101, allocations: 19.92 kB / 1.026 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.8102, allocations: 7.938 kB / 1.026 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.8104, allocations: 27.83 kB / 1.026 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.8104, allocations: 8 kB / 1.026 GB, free: 9.621 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.0001265/0.8105, allocations: 143.5 kB / 1.026 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.13e-05/0.8106, allocations: 15.81 kB / 1.026 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.196e-05/0.8106, allocations: 17.53 kB / 1.026 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.8106, allocations: 11.98 kB / 1.026 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.8106, allocations: 0 / 1.026 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.8106, allocations: 0 / 1.026 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005709/0.8112, allocations: 473.6 kB / 1.027 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.8112, allocations: 0 / 1.027 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.689e-05/0.8113, allocations: 8 kB / 1.027 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.8113, allocations: 0 / 1.027 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.8113, allocations: 11.94 kB / 1.027 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.8113, allocations: 0 / 1.027 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.8113, allocations: 0 / 1.027 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003112/0.8116, allocations: 232.1 kB / 1.027 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.347e-05/0.8117, allocations: 92.92 kB / 1.027 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.8117, allocations: 7.938 kB / 1.027 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.8119, allocations: 20.06 kB / 1.027 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.687e-05/0.8119, allocations: 15.97 kB / 1.027 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/0.812, allocations: 15.98 kB / 1.027 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001135/0.8121, allocations: 135.2 kB / 1.027 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8121, allocations: 0 / 1.027 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003185/0.8124, allocations: 47.92 kB / 1.027 GB, free: 8.305 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.2574/1.07, allocations: 0.8531 MB / 1.028 GB, free: 7.441 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000342/1.07, allocations: 107.5 kB / 1.028 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.07, allocations: 0 / 1.028 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001181/1.07, allocations: 51.92 kB / 1.028 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006199/1.071, allocations: 57.72 kB / 1.028 GB, free: 7.234 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/1.073, allocations: 1.943 MB / 1.03 GB, free: 5.168 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/1.073, allocations: 0.7242 MB / 1.031 GB, free: 4.414 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.09e-05/1.073, allocations: 33.61 kB / 1.031 GB, free: 4.383 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.231e-05/1.073, allocations: 51.42 kB / 1.031 GB, free: 4.336 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/1.073, allocations: 0 / 1.031 GB, free: 4.336 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02307/1.097, allocations: 5.287 MB / 1.036 GB, free: 15.25 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000259/1.097, allocations: 277.5 kB / 1.036 GB, free: 14.88 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.86/2.957, allocations: 0 / 1.036 GB, free: 14.88 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