Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.001748/0.001748, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002171/0.002171, allocations: 213.9 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.573/1.573, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.825/2.825, allocations: 476 MB / 0.7699 GB, free: 4.715 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.PlotterActivationLocalInput,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002285/0.002285, allocations: 64.45 kB / 1.117 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3519, allocations: 169.9 MB / 1.283 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.00344/0.3553, allocations: 1.732 MB / 1.284 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002337/0.3577, allocations: 0.9008 MB / 1.285 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001767/0.3579, allocations: 0 / 1.285 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002829/0.3581, allocations: 31.67 kB / 1.285 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006482/0.3588, allocations: 119.4 kB / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007585/0.3595, allocations: 149.3 kB / 1.285 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006572/0.3602, allocations: 255.3 kB / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001844/0.3604, allocations: 25.78 kB / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002687/0.3607, allocations: 115.6 kB / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01356/0.3742, allocations: 1.657 MB / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.24e-05/0.3743, allocations: 19.94 kB / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001487/0.3745, allocations: 32 kB / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.398e-05/0.3746, allocations: 47.81 kB / 1.287 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.3747, allocations: 79.58 kB / 1.288 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004781/0.3752, allocations: 227.2 kB / 1.288 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.3752, allocations: 4 kB / 1.288 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.305e-06/0.3752, allocations: 0 / 1.288 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.356e-05/0.3752, allocations: 0 / 1.288 GB, free: 7.535 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.0009578/0.3762, allocations: 496.6 kB / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.3762, allocations: 8.031 kB / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.216e-05/0.3762, allocations: 46.67 kB / 1.288 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.081e-05/0.3763, allocations: 24.8 kB / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/0.3767, allocations: 181.6 kB / 1.289 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.3767, allocations: 12 kB / 1.289 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.873e-05/0.3767, allocations: 16 kB / 1.289 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002392/0.377, allocations: 111.3 kB / 1.289 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.377, allocations: 0 / 1.289 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.377, allocations: 7.984 kB / 1.289 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.477e-06/0.377, allocations: 7.984 kB / 1.289 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.3771, allocations: 55.88 kB / 1.289 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009379/0.3781, allocations: 491.7 kB / 1.289 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.3783, allocations: 93.25 kB / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.87e-05/0.3783, allocations: 33.77 kB / 1.289 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.3784, allocations: 7.938 kB / 1.289 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002818/0.3786, allocations: 127.8 kB / 1.289 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 3.496e-06/0.3786, allocations: 4 kB / 1.289 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.0003831/0.379, allocations: 151.2 kB / 1.29 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.06e-05/0.3791, allocations: 89.03 kB / 1.29 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002539/0.3793, allocations: 201.2 kB / 1.29 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.767e-05/0.3794, allocations: 37.69 kB / 1.29 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.3795, allocations: 128.5 kB / 1.29 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.232e-05/0.3796, allocations: 31.75 kB / 1.29 GB, free: 5 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.3797, allocations: 57.67 kB / 1.29 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.3798, allocations: 330.8 kB / 1.29 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.847e-05/0.3799, allocations: 35.98 kB / 1.29 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003378/0.3802, allocations: 244.2 kB / 1.291 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.3804, allocations: 117.9 kB / 1.291 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3804, allocations: 4 kB / 1.291 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002863/0.3807, allocations: 157.1 kB / 1.291 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.3807, allocations: 10.44 kB / 1.291 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.3807, allocations: 8.156 kB / 1.291 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.3807, allocations: 0 / 1.291 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.722e-05/0.3808, allocations: 19.94 kB / 1.291 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.3809, allocations: 7.984 kB / 1.291 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002318/0.3811, allocations: 27.88 kB / 1.291 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.3811, allocations: 8 kB / 1.291 GB, free: 3.898 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.0001518/0.3813, allocations: 139.5 kB / 1.291 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.001e-05/0.3813, allocations: 19.86 kB / 1.291 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.392e-05/0.3813, allocations: 21.45 kB / 1.291 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.3813, allocations: 8 kB / 1.291 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.3814, allocations: 0 / 1.291 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3814, allocations: 0 / 1.291 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006898/0.382, allocations: 421.4 kB / 1.292 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.382, allocations: 0 / 1.292 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.714e-05/0.3821, allocations: 4 kB / 1.292 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.3821, allocations: 0 / 1.292 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.3821, allocations: 15.92 kB / 1.292 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.3821, allocations: 0 / 1.292 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.3821, allocations: 4.094 kB / 1.292 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002696/0.3824, allocations: 240.1 kB / 1.292 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.07e-05/0.3824, allocations: 15.89 kB / 1.292 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.882e-05/0.3824, allocations: 7.938 kB / 1.292 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.3826, allocations: 15.98 kB / 1.292 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.396e-05/0.3826, allocations: 19.97 kB / 1.292 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-05/0.3827, allocations: 4 kB / 1.292 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001525/0.3828, allocations: 151 kB / 1.292 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3828, allocations: 0 / 1.292 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003283/0.3831, allocations: 51.86 kB / 1.292 GB, free: 2.699 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.000992/0.3841, allocations: 0.8408 MB / 1.293 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000249/0.3844, allocations: 102.9 kB / 1.293 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3844, allocations: 0 / 1.293 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.3845, allocations: 43.92 kB / 1.293 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005113/0.385, allocations: 58.97 kB / 1.293 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002508/0.3875, allocations: 1.937 MB / 1.295 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.3876, allocations: 108.1 kB / 1.295 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.101e-05/0.3877, allocations: 25.61 kB / 1.295 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.3878, allocations: 63.41 kB / 1.295 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/0.3878, allocations: 0 / 1.295 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03926/0.4271, allocations: 6.424 MB / 1.301 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.85, allocations: 10.83 kB / 1.301 GB, free: 9.168 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.fmu > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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: 18.81604051310569]