Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008507/0.0008507, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8934/0.8934, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.672/1.672, allocations: 359 MB / 0.6037 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.9505 GB, free: 3.527 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.165e-05/1.304e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.523 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002059/0.002072, allocations: 1.728 MB / 0.9521 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.003226, allocations: 0.9082 MB / 0.953 GB, free: 0.8672 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.762e-05/0.003304, allocations: 7.938 kB / 0.953 GB, free: 0.8594 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001666/0.00347, allocations: 27.67 kB / 0.9531 GB, free: 0.832 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0003261/0.003796, allocations: 127.3 kB / 0.9532 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.004068, allocations: 150.1 kB / 0.9533 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.000216/0.004284, allocations: 247.3 kB / 0.9536 GB, free: 328 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.004388, allocations: 21.78 kB / 0.9536 GB, free: 304 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.004527, allocations: 151.6 kB / 0.9537 GB, free: 152 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00497/0.009496, allocations: 1.695 MB / 0.9554 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.998e-05/0.009536, allocations: 20 kB / 0.9554 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 8.18e-05/0.009618, allocations: 39.92 kB / 0.9554 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 5.348e-05/0.009671, allocations: 39.83 kB / 0.9555 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 7.242e-05/0.009744, allocations: 63.81 kB / 0.9555 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002868/0.01003, allocations: 243.2 kB / 0.9558 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.01003, allocations: 0 / 0.9558 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.082e-06/0.01003, allocations: 4 kB / 0.9558 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.01004, allocations: 0 / 0.9558 GB, free: 14.5 MB / 0.9167 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.0006761/0.01071, allocations: 492.6 kB / 0.9563 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.01076, allocations: 12.03 kB / 0.9563 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.726e-05/0.0108, allocations: 38.75 kB / 0.9563 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.676e-05/0.01086, allocations: 20.83 kB / 0.9563 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.01107, allocations: 177.5 kB / 0.9565 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.01109, allocations: 20.12 kB / 0.9565 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.01111, allocations: 12 kB / 0.9565 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.01127, allocations: 93.59 kB / 0.9566 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.01128, allocations: 3.984 kB / 0.9566 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.01129, allocations: 0 / 0.9566 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.0113, allocations: 4 kB / 0.9566 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.199e-05/0.01139, allocations: 62.09 kB / 0.9567 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005571/0.01194, allocations: 399.6 kB / 0.9571 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002858/0.01223, allocations: 122.7 kB / 0.9572 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.53e-05/0.01228, allocations: 36.84 kB / 0.9572 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.01229, allocations: 0 / 0.9572 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001519/0.01245, allocations: 118.4 kB / 0.9573 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=16): time 9.92e-07/0.01245, allocations: 0 / 0.9573 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of matching and sorting (n=16): time 0.0002974/0.01274, allocations: 169.4 kB / 0.9575 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.01278, allocations: 55.41 kB / 0.9575 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.01291, allocations: 200.4 kB / 0.9577 GB, free: 12.33 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.01293, allocations: 33.7 kB / 0.9578 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.185e-05/0.01299, allocations: 124.5 kB / 0.9579 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/0.01302, allocations: 35.78 kB / 0.9579 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.026e-05/0.01308, allocations: 61.67 kB / 0.958 GB, free: 12.06 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.505e-05/0.01315, allocations: 326.8 kB / 0.9583 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.668e-05/0.0132, allocations: 31.98 kB / 0.9583 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001792/0.01338, allocations: 236.7 kB / 0.9585 GB, free: 11.42 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.01348, allocations: 104.2 kB / 0.9586 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.01348, allocations: 7.875 kB / 0.9586 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001654/0.01365, allocations: 160.8 kB / 0.9588 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.01366, allocations: 4 kB / 0.9588 GB, free: 11.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.01366, allocations: 4 kB / 0.9588 GB, free: 11.13 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.01368, allocations: 0 / 0.9588 GB, free: 11.13 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.086e-05/0.01372, allocations: 24.05 kB / 0.9588 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.01372, allocations: 4 kB / 0.9588 GB, free: 11.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.01383, allocations: 27.88 kB / 0.9589 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.01383, allocations: 4 kB / 0.9589 GB, free: 11.07 MB / 0.9167 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 8.692e-05/0.01392, allocations: 139.7 kB / 0.959 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.849e-05/0.01394, allocations: 19.89 kB / 0.959 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.774e-05/0.01397, allocations: 17.81 kB / 0.959 GB, free: 10.89 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.01397, allocations: 4 kB / 0.959 GB, free: 10.88 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.01398, allocations: 0 / 0.959 GB, free: 10.88 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.01398, allocations: 4 kB / 0.959 GB, free: 10.88 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004526/0.01443, allocations: 465.2 kB / 0.9595 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.01443, allocations: 3.938 kB / 0.9595 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.178e-05/0.01444, allocations: 4 kB / 0.9595 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.01445, allocations: 0 / 0.9595 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.01446, allocations: 4 kB / 0.9595 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.01446, allocations: 4 kB / 0.9595 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01446, allocations: 0 / 0.9595 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001492/0.01461, allocations: 230.3 kB / 0.9597 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.69e-05/0.01462, allocations: 19.84 kB / 0.9597 GB, free: 10.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.01464, allocations: 4 kB / 0.9597 GB, free: 10.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.462e-05/0.0147, allocations: 15.97 kB / 0.9598 GB, free: 10.08 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.449e-05/0.01476, allocations: 27.84 kB / 0.9598 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.01478, allocations: 8 kB / 0.9598 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 8.352e-05/0.01486, allocations: 143 kB / 0.9599 GB, free: 9.906 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9e-08/0.01486, allocations: 0 / 0.9599 GB, free: 9.906 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002172/0.01508, allocations: 47.94 kB / 0.96 GB, free: 9.859 MB / 0.9167 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.0005341/0.01561, allocations: 0.823 MB / 0.9608 GB, free: 9.031 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001839/0.0158, allocations: 103.5 kB / 0.9609 GB, free: 8.934 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.0158, allocations: 0 / 0.9609 GB, free: 8.934 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.348e-05/0.01586, allocations: 51.92 kB / 0.9609 GB, free: 8.883 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.01613, allocations: 63.38 kB / 0.961 GB, free: 8.824 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.01765, allocations: 1.915 MB / 0.9629 GB, free: 6.801 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.203e-05/0.01772, allocations: 120.5 kB / 0.963 GB, free: 6.66 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 6.269e-05/0.01779, allocations: 29.61 kB / 0.963 GB, free: 6.633 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.886e-05/0.01786, allocations: 52.48 kB / 0.963 GB, free: 6.582 MB / 0.9167 GB Notification: Performance of SimCode: time 4.91e-07/0.01786, allocations: 0 / 0.963 GB, free: 6.582 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01734/0.0352, allocations: 6.605 MB / 0.9695 GB, free: 188 kB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.331/7.366, allocations: 5.891 kB / 0.9695 GB, free: 184 kB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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: 11.256903816014528]