Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.0007797/0.0007797, 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.0008581/0.0008581, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.8828/0.8828, allocations: 177.2 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.744/1.744, allocations: 377.8 MB / 0.6221 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 0.9809 GB, free: 2.617 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.935e-05/2.123e-05, allocations: 14.22 kB / 0.9809 GB, free: 2.602 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003099/0.00312, allocations: 1.73 MB / 0.9826 GB, free: 0.8594 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001448/0.004568, allocations: 0.9005 MB / 0.9835 GB, free: 15.96 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.926e-05/0.004647, allocations: 0 / 0.9835 GB, free: 15.96 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001956/0.004843, allocations: 39.59 kB / 0.9835 GB, free: 15.92 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003798/0.005223, allocations: 123.4 kB / 0.9837 GB, free: 15.8 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003419/0.005565, allocations: 163.6 kB / 0.9838 GB, free: 15.64 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002925/0.005857, allocations: 247.3 kB / 0.9841 GB, free: 15.39 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.00599, allocations: 25.8 kB / 0.9841 GB, free: 15.37 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001878/0.006178, allocations: 147.7 kB / 0.9842 GB, free: 15.23 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008694/0.01487, allocations: 1.961 MB / 0.9861 GB, free: 13.79 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.995e-05/0.01491, allocations: 23.94 kB / 0.9862 GB, free: 13.77 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.372e-05/0.01499, allocations: 35.94 kB / 0.9862 GB, free: 13.73 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 5.65e-05/0.01504, allocations: 51.75 kB / 0.9862 GB, free: 13.68 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 7.636e-05/0.01512, allocations: 63.81 kB / 0.9863 GB, free: 13.62 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002867/0.0154, allocations: 239.3 kB / 0.9865 GB, free: 13.39 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.01541, allocations: 4 kB / 0.9865 GB, free: 13.38 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.014e-06/0.01541, allocations: 0 / 0.9865 GB, free: 13.38 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.01541, allocations: 4 kB / 0.9865 GB, free: 13.38 MB / 0.948 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.0005941/0.01601, allocations: 496.5 kB / 0.987 GB, free: 12.85 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.01605, allocations: 8.031 kB / 0.987 GB, free: 12.84 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.218e-05/0.01608, allocations: 42.73 kB / 0.9871 GB, free: 12.79 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.027e-05/0.01613, allocations: 20.84 kB / 0.9871 GB, free: 12.77 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.01633, allocations: 182 kB / 0.9873 GB, free: 12.57 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.01634, allocations: 12.12 kB / 0.9873 GB, free: 12.56 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.01637, allocations: 16 kB / 0.9873 GB, free: 12.54 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.01655, allocations: 119.2 kB / 0.9874 GB, free: 12.41 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.01656, allocations: 0 / 0.9874 GB, free: 12.41 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.01658, allocations: 8 kB / 0.9874 GB, free: 12.41 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.01658, allocations: 4 kB / 0.9874 GB, free: 12.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/0.0167, allocations: 55.95 kB / 0.9875 GB, free: 12.35 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006223/0.01732, allocations: 487.7 kB / 0.9879 GB, free: 11.82 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.01746, allocations: 97.25 kB / 0.988 GB, free: 11.71 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.586e-05/0.0175, allocations: 37.77 kB / 0.9881 GB, free: 11.67 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.01752, allocations: 0 / 0.9881 GB, free: 11.67 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/0.01769, allocations: 135.6 kB / 0.9882 GB, free: 11.52 MB / 0.948 GB Notification: Performance of pre-optimization done (n=15): time 1.052e-06/0.01769, allocations: 0 / 0.9882 GB, free: 11.52 MB / 0.948 GB Notification: Performance of matching and sorting (n=15): time 0.0002584/0.01795, allocations: 157 kB / 0.9883 GB, free: 11.36 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.01799, allocations: 85.05 kB / 0.9884 GB, free: 11.26 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.01814, allocations: 208.2 kB / 0.9886 GB, free: 11.05 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.01816, allocations: 37.7 kB / 0.9886 GB, free: 11 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.957e-05/0.01823, allocations: 124.5 kB / 0.9888 GB, free: 10.88 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.601e-05/0.01826, allocations: 43.69 kB / 0.9888 GB, free: 10.84 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.084e-05/0.01832, allocations: 53.67 kB / 0.9889 GB, free: 10.78 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.09e-05/0.0184, allocations: 326.8 kB / 0.9892 GB, free: 10.45 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.79e-05/0.01845, allocations: 35.98 kB / 0.9892 GB, free: 10.41 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001936/0.01864, allocations: 244.2 kB / 0.9894 GB, free: 10.12 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.01874, allocations: 117.8 kB / 0.9896 GB, free: 9.98 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.01875, allocations: 0 / 0.9896 GB, free: 9.98 MB / 0.948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001742/0.01892, allocations: 157.4 kB / 0.9897 GB, free: 9.82 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.01894, allocations: 8 kB / 0.9897 GB, free: 9.812 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.01894, allocations: 0 / 0.9897 GB, free: 9.812 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.01895, allocations: 7.938 kB / 0.9897 GB, free: 9.805 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.343e-05/0.01902, allocations: 19.94 kB / 0.9897 GB, free: 9.785 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.01902, allocations: 160 / 0.9897 GB, free: 9.785 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.01914, allocations: 39.86 kB / 0.9898 GB, free: 9.746 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/0.01915, allocations: 4 kB / 0.9898 GB, free: 9.742 MB / 0.948 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 9.203e-05/0.01924, allocations: 139.7 kB / 0.9899 GB, free: 9.598 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.911e-05/0.01926, allocations: 19.91 kB / 0.9899 GB, free: 9.578 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.24e-05/0.01929, allocations: 21.45 kB / 0.9899 GB, free: 9.555 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.01929, allocations: 0 / 0.9899 GB, free: 9.555 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.0193, allocations: 0 / 0.9899 GB, free: 9.555 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.0193, allocations: 4 kB / 0.99 GB, free: 9.551 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003955/0.0197, allocations: 429.9 kB / 0.9904 GB, free: 9.082 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.0197, allocations: 0 / 0.9904 GB, free: 9.082 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.277e-05/0.01971, allocations: 4 kB / 0.9904 GB, free: 9.078 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.01971, allocations: 4 kB / 0.9904 GB, free: 9.074 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.01972, allocations: 4 kB / 0.9904 GB, free: 9.07 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.01972, allocations: 0 / 0.9904 GB, free: 9.07 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.01973, allocations: 4 kB / 0.9904 GB, free: 9.066 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001495/0.01988, allocations: 236.2 kB / 0.9906 GB, free: 8.816 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.039e-05/0.0199, allocations: 23.83 kB / 0.9906 GB, free: 8.793 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.01991, allocations: 7.984 kB / 0.9906 GB, free: 8.785 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.459e-05/0.01998, allocations: 11.98 kB / 0.9906 GB, free: 8.773 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.231e-05/0.02003, allocations: 23.91 kB / 0.9907 GB, free: 8.75 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.02005, allocations: 12 kB / 0.9907 GB, free: 8.738 MB / 0.948 GB Notification: Performance of sorting global known variables: time 8.159e-05/0.02013, allocations: 140.2 kB / 0.9908 GB, free: 8.602 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.02013, allocations: 0 / 0.9908 GB, free: 8.602 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002283/0.02036, allocations: 51.94 kB / 0.9909 GB, free: 8.551 MB / 0.948 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.000525/0.02089, allocations: 0.8398 MB / 0.9917 GB, free: 7.707 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001723/0.02106, allocations: 96.02 kB / 0.9918 GB, free: 7.613 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.02106, allocations: 4.125 kB / 0.9918 GB, free: 7.609 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.259e-05/0.02112, allocations: 47.92 kB / 0.9918 GB, free: 7.562 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.02141, allocations: 60.03 kB / 0.9919 GB, free: 7.512 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.0229, allocations: 1.927 MB / 0.9938 GB, free: 5.465 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.756e-05/0.02298, allocations: 112.6 kB / 0.9939 GB, free: 5.336 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 7.273e-05/0.02305, allocations: 17.64 kB / 0.9939 GB, free: 5.32 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.006e-05/0.02313, allocations: 64.47 kB / 0.9939 GB, free: 5.254 MB / 0.948 GB Notification: Performance of SimCode: time 5.41e-07/0.02313, allocations: 0 / 0.9939 GB, free: 5.254 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02096/0.04409, allocations: 6.548 MB / 1 GB, free: 14.93 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.118/7.162, allocations: 6.812 kB / 1 GB, free: 14.93 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.fmu > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.172505386173725]