Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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.000812/0.000812, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.0008221/0.0008221, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.9131/0.9131, allocations: 177.1 MB / 202.8 MB, free: 5.723 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.795/1.795, allocations: 377.9 MB / 0.6221 GB, free: 8.641 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.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.9809 GB, free: 2.621 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.207e-05/1.373e-05, allocations: 6.219 kB / 0.9809 GB, free: 2.613 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.001977/0.001991, allocations: 1.634 MB / 0.9825 GB, free: 0.9648 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0007467/0.002738, allocations: 0.5576 MB / 0.9831 GB, free: 416 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.327e-05/0.002801, allocations: 0 / 0.9831 GB, free: 416 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001633/0.002964, allocations: 35.59 kB / 0.9831 GB, free: 380 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0003102/0.003275, allocations: 119.4 kB / 0.9832 GB, free: 260 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002688/0.003543, allocations: 143.6 kB / 0.9833 GB, free: 116 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0002159/0.003759, allocations: 227.4 kB / 0.9836 GB, free: 15.89 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.003862, allocations: 17.8 kB / 0.9836 GB, free: 15.88 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.003989, allocations: 123.8 kB / 0.9837 GB, free: 15.75 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004671/0.008659, allocations: 1.564 MB / 0.9852 GB, free: 14.6 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.342e-05/0.008703, allocations: 16 kB / 0.9852 GB, free: 14.59 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.033e-05/0.008783, allocations: 39.97 kB / 0.9853 GB, free: 14.55 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 5.865e-05/0.008842, allocations: 31.84 kB / 0.9853 GB, free: 14.52 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 7.456e-05/0.008916, allocations: 63.81 kB / 0.9854 GB, free: 14.45 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002772/0.009193, allocations: 219.3 kB / 0.9856 GB, free: 14.24 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.009196, allocations: 0 / 0.9856 GB, free: 14.24 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.984e-06/0.009198, allocations: 4 kB / 0.9856 GB, free: 14.23 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.009202, allocations: 0 / 0.9856 GB, free: 14.23 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005528/0.009755, allocations: 456.8 kB / 0.986 GB, free: 13.75 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.009793, allocations: 8.031 kB / 0.986 GB, free: 13.74 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.15e-05/0.009825, allocations: 42.73 kB / 0.9861 GB, free: 13.69 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.516e-05/0.00987, allocations: 20.84 kB / 0.9861 GB, free: 13.67 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.01007, allocations: 174 kB / 0.9863 GB, free: 13.47 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.01008, allocations: 8.375 kB / 0.9863 GB, free: 13.46 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.0101, allocations: 16.12 kB / 0.9863 GB, free: 13.45 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.01024, allocations: 92.34 kB / 0.9864 GB, free: 13.36 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.01024, allocations: 0 / 0.9864 GB, free: 13.36 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.01025, allocations: 4 kB / 0.9864 GB, free: 13.35 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.01026, allocations: 4 kB / 0.9864 GB, free: 13.35 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.197e-05/0.01033, allocations: 39.97 kB / 0.9864 GB, free: 13.31 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005101/0.01084, allocations: 383.6 kB / 0.9868 GB, free: 12.89 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.01095, allocations: 58.5 kB / 0.9868 GB, free: 12.82 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.533e-05/0.01098, allocations: 28.84 kB / 0.9869 GB, free: 12.79 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.011, allocations: 4 kB / 0.9869 GB, free: 12.79 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001096/0.01111, allocations: 87.38 kB / 0.9869 GB, free: 12.69 MB / 0.948 GB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.01111, allocations: 0 / 0.9869 GB, free: 12.69 MB / 0.948 GB Notification: Performance of matching and sorting (n=12): time 0.0002199/0.01133, allocations: 133.6 kB / 0.9871 GB, free: 12.55 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.01136, allocations: 67.31 kB / 0.9871 GB, free: 12.48 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.01149, allocations: 188.3 kB / 0.9873 GB, free: 12.28 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.01151, allocations: 33.7 kB / 0.9873 GB, free: 12.24 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.334e-05/0.01158, allocations: 112.1 kB / 0.9875 GB, free: 12.13 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.0116, allocations: 39.86 kB / 0.9875 GB, free: 12.09 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.794e-05/0.01166, allocations: 53.64 kB / 0.9875 GB, free: 12.03 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.84e-05/0.01174, allocations: 322.8 kB / 0.9879 GB, free: 11.71 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.804e-05/0.01177, allocations: 23.98 kB / 0.9879 GB, free: 11.68 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.01195, allocations: 242.4 kB / 0.9881 GB, free: 11.39 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.294e-05/0.01204, allocations: 84.23 kB / 0.9882 GB, free: 11.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.01204, allocations: 0 / 0.9882 GB, free: 11.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001459/0.01218, allocations: 129.5 kB / 0.9883 GB, free: 11.16 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.0122, allocations: 8 kB / 0.9883 GB, free: 11.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.0122, allocations: 0 / 0.9883 GB, free: 11.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.01221, allocations: 0 / 0.9883 GB, free: 11.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.435e-05/0.01227, allocations: 23.86 kB / 0.9883 GB, free: 11.13 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.01227, allocations: 8.125 kB / 0.9883 GB, free: 11.12 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.125e-05/0.01236, allocations: 23.88 kB / 0.9884 GB, free: 11.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.01237, allocations: 4 kB / 0.9884 GB, free: 11.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (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,$whenCondition3,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.225e-05/0.01245, allocations: 137.6 kB / 0.9885 GB, free: 10.95 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.646e-05/0.01247, allocations: 19.89 kB / 0.9885 GB, free: 10.93 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.647e-05/0.0125, allocations: 21.45 kB / 0.9885 GB, free: 10.91 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.0125, allocations: 0 / 0.9885 GB, free: 10.91 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.0125, allocations: 3.938 kB / 0.9886 GB, free: 10.91 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.01251, allocations: 0 / 0.9886 GB, free: 10.91 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003128/0.01282, allocations: 393.4 kB / 0.9889 GB, free: 10.48 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.01282, allocations: 7.938 kB / 0.9889 GB, free: 10.47 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.054e-05/0.01283, allocations: 0 / 0.9889 GB, free: 10.47 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.01283, allocations: 0 / 0.9889 GB, free: 10.47 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.01284, allocations: 7.984 kB / 0.9889 GB, free: 10.46 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.01284, allocations: 0 / 0.9889 GB, free: 10.46 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.01284, allocations: 0 / 0.9889 GB, free: 10.46 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.01296, allocations: 203.3 kB / 0.9891 GB, free: 10.25 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.734e-05/0.01298, allocations: 23.78 kB / 0.9892 GB, free: 10.22 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.01299, allocations: 4 kB / 0.9892 GB, free: 10.22 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.448e-05/0.01305, allocations: 11.98 kB / 0.9892 GB, free: 10.21 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.01309, allocations: 15.97 kB / 0.9892 GB, free: 10.19 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.01311, allocations: 4 kB / 0.9892 GB, free: 10.19 MB / 0.948 GB Notification: Performance of sorting global known variables: time 7.583e-05/0.01319, allocations: 132.1 kB / 0.9893 GB, free: 10.06 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.01319, allocations: 0 / 0.9893 GB, free: 10.06 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002017/0.01339, allocations: 43.98 kB / 0.9894 GB, free: 10.02 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004595/0.01385, allocations: 0.823 MB / 0.9902 GB, free: 9.191 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000134/0.01398, allocations: 71.91 kB / 0.9902 GB, free: 9.121 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01398, allocations: 0 / 0.9902 GB, free: 9.121 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.029e-05/0.01403, allocations: 36.17 kB / 0.9903 GB, free: 9.086 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.01428, allocations: 49.7 kB / 0.9903 GB, free: 9.043 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.01556, allocations: 1.792 MB / 0.9921 GB, free: 7.145 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.677e-05/0.01563, allocations: 102.3 kB / 0.9922 GB, free: 7.027 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.592e-05/0.01568, allocations: 17.48 kB / 0.9922 GB, free: 7.008 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.416e-05/0.01574, allocations: 56.41 kB / 0.9922 GB, free: 6.949 MB / 0.948 GB Notification: Performance of SimCode: time 4.11e-07/0.01574, allocations: 0 / 0.9922 GB, free: 6.949 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01785/0.03359, allocations: 5.967 MB / 0.9981 GB, free: 1.18 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.883/6.917, allocations: 8.938 kB / 0.9981 GB, free: 1.176 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.fmu > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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.04524271376431]