Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "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: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001988/0.001988, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.81/2.81, allocations: 476.7 MB / 0.7611 GB, free: 11.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00216/0.00216, allocations: 63.89 kB / 1.104 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9868/0.989, allocations: 168.7 MB / 1.269 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003766/0.9927, allocations: 1.759 MB / 1.27 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001996/0.9947, allocations: 0.9062 MB / 1.271 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001488/0.9949, allocations: 7.938 kB / 1.271 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002408/0.9951, allocations: 23.72 kB / 1.271 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000518/0.9956, allocations: 127.4 kB / 1.271 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004805/0.9961, allocations: 155.6 kB / 1.272 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004135/0.9965, allocations: 235.4 kB / 1.272 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.9967, allocations: 31.5 kB / 1.272 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00021/0.9969, allocations: 115.6 kB / 1.272 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01596/1.013, allocations: 1.992 MB / 1.274 GB, free: 376 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.446e-05/1.013, allocations: 20 kB / 1.274 GB, free: 356 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/1.013, allocations: 39.98 kB / 1.274 GB, free: 316 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.799e-05/1.013, allocations: 39.84 kB / 1.274 GB, free: 276 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001511/1.013, allocations: 95.48 kB / 1.274 GB, free: 180 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004936/1.014, allocations: 227.1 kB / 1.274 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/1.014, allocations: 0 / 1.274 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.475e-06/1.014, allocations: 0 / 1.274 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.04e-05/1.014, allocations: 0 / 1.274 GB, free: 15.95 MB / 0.9825 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.00107/1.015, allocations: 0.5525 MB / 1.275 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/1.015, allocations: 12.03 kB / 1.275 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.257e-05/1.015, allocations: 38.73 kB / 1.275 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.341e-05/1.015, allocations: 28.78 kB / 1.275 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003978/1.016, allocations: 243.4 kB / 1.275 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/1.016, allocations: 12 kB / 1.275 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.069e-05/1.016, allocations: 15.98 kB / 1.275 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002289/1.016, allocations: 115.2 kB / 1.275 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/1.016, allocations: 3.938 kB / 1.275 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/1.016, allocations: 8 kB / 1.275 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/1.016, allocations: 3.984 kB / 1.275 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/1.016, allocations: 59.97 kB / 1.275 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008841/1.017, allocations: 0.5317 MB / 1.276 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/1.017, allocations: 101.1 kB / 1.276 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.219e-05/1.017, allocations: 33.77 kB / 1.276 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/1.017, allocations: 7.938 kB / 1.276 GB, free: 14 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003142/1.017, allocations: 125.2 kB / 1.276 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 1.293e-06/1.017, allocations: 0 / 1.276 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.0003584/1.018, allocations: 157.5 kB / 1.276 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/1.018, allocations: 85.09 kB / 1.276 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/1.018, allocations: 204.3 kB / 1.277 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.599e-05/1.018, allocations: 33.7 kB / 1.277 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.596e-05/1.018, allocations: 116.5 kB / 1.277 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/1.018, allocations: 35.73 kB / 1.277 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/1.018, allocations: 65.75 kB / 1.277 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001539/1.018, allocations: 330.8 kB / 1.277 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.022e-05/1.019, allocations: 35.98 kB / 1.277 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002747/1.019, allocations: 132.2 kB / 1.277 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/1.019, allocations: 114.6 kB / 1.277 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.019, allocations: 0 / 1.277 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002717/1.019, allocations: 167.5 kB / 1.278 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/1.019, allocations: 9.562 kB / 1.278 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/1.019, allocations: 0 / 1.278 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/1.019, allocations: 4 kB / 1.278 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.333e-05/1.019, allocations: 23.92 kB / 1.278 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/1.019, allocations: 4 kB / 1.278 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002241/1.02, allocations: 23.88 kB / 1.278 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/1.02, allocations: 8 kB / 1.278 GB, free: 12.22 MB / 0.9825 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.0001578/1.02, allocations: 148.1 kB / 1.278 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.895e-05/1.02, allocations: 23.91 kB / 1.278 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.997e-05/1.02, allocations: 17.53 kB / 1.278 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/1.02, allocations: 0 / 1.278 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/1.02, allocations: 0 / 1.278 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/1.02, allocations: 3.984 kB / 1.278 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006343/1.021, allocations: 466.2 kB / 1.278 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/1.021, allocations: 4 kB / 1.278 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.561e-05/1.021, allocations: 7.984 kB / 1.278 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/1.021, allocations: 0 / 1.278 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/1.021, allocations: 11.88 kB / 1.278 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/1.021, allocations: 0 / 1.278 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/1.021, allocations: 4.031 kB / 1.278 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/1.021, allocations: 235.2 kB / 1.279 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.161e-05/1.021, allocations: 93.02 kB / 1.279 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.787e-05/1.021, allocations: 11.94 kB / 1.279 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/1.021, allocations: 11.98 kB / 1.279 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.741e-05/1.021, allocations: 19.97 kB / 1.279 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.396e-05/1.021, allocations: 8 kB / 1.279 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000133/1.021, allocations: 144.2 kB / 1.279 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/1.021, allocations: 0 / 1.279 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003151/1.022, allocations: 55.88 kB / 1.279 GB, free: 10.87 MB / 0.9825 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.0008904/1.022, allocations: 0.8311 MB / 1.28 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002417/1.023, allocations: 99.83 kB / 1.28 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.023, allocations: 0 / 1.28 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.731e-05/1.023, allocations: 48.23 kB / 1.28 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004343/1.023, allocations: 74.83 kB / 1.28 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002234/1.025, allocations: 1.912 MB / 1.282 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/1.026, allocations: 0.7203 MB / 1.282 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.172e-05/1.026, allocations: 25.52 kB / 1.282 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/1.026, allocations: 59.41 kB / 1.283 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/1.026, allocations: 0 / 1.283 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03077/1.057, allocations: 5.573 MB / 1.288 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.535/9.592, allocations: 8 kB / 1.288 GB, free: 1.574 MB / 0.9825 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.fmu > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.79638527194038]