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.001114/0.001114, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001273/0.001273, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.8925/0.8925, allocations: 177.1 MB / 203.5 MB, free: 5.719 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.837/1.837, allocations: 377.8 MB / 0.6228 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: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.9821 GB, free: 2.129 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.929e-05/3.073e-05, allocations: 8.891 kB / 0.9822 GB, free: 2.121 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.002219/0.002249, allocations: 1.623 MB / 0.9837 GB, free: 496 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.000782/0.003031, allocations: 0.5692 MB / 0.9843 GB, free: 15.91 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.675e-05/0.003088, allocations: 4 kB / 0.9843 GB, free: 15.91 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001608/0.003249, allocations: 31.72 kB / 0.9843 GB, free: 15.88 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002751/0.003524, allocations: 111.5 kB / 0.9844 GB, free: 15.77 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000252/0.003776, allocations: 147.6 kB / 0.9846 GB, free: 15.62 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002181/0.003994, allocations: 219.4 kB / 0.9848 GB, free: 15.41 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.004113, allocations: 17.8 kB / 0.9848 GB, free: 15.39 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.004241, allocations: 131.8 kB / 0.9849 GB, free: 15.27 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004552/0.008793, allocations: 1.562 MB / 0.9865 GB, free: 14.11 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 5.205e-05/0.008845, allocations: 16 kB / 0.9865 GB, free: 14.1 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.553e-05/0.00894, allocations: 43.92 kB / 0.9865 GB, free: 14.05 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 5.762e-05/0.008998, allocations: 35.78 kB / 0.9865 GB, free: 14.02 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 7.587e-05/0.009074, allocations: 55.88 kB / 0.9866 GB, free: 13.96 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003228/0.009397, allocations: 215.3 kB / 0.9868 GB, free: 13.75 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.009401, allocations: 0 / 0.9868 GB, free: 13.75 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.513e-06/0.009403, allocations: 0 / 0.9868 GB, free: 13.75 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.009409, allocations: 4 kB / 0.9868 GB, free: 13.75 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.0005521/0.009961, allocations: 464.8 kB / 0.9873 GB, free: 13.25 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.009998, allocations: 8.031 kB / 0.9873 GB, free: 13.25 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.435e-05/0.01005, allocations: 16.84 kB / 0.9873 GB, free: 13.23 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.01025, allocations: 178 kB / 0.9874 GB, free: 13.03 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.01027, allocations: 8.375 kB / 0.9875 GB, free: 13.02 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.01029, allocations: 16.38 kB / 0.9875 GB, free: 13.01 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.01042, allocations: 83.98 kB / 0.9875 GB, free: 12.92 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.01043, allocations: 0 / 0.9875 GB, free: 12.92 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.01044, allocations: 0 / 0.9875 GB, free: 12.92 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.01045, allocations: 4 kB / 0.9876 GB, free: 12.92 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.588e-05/0.01052, allocations: 43.97 kB / 0.9876 GB, free: 12.88 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005008/0.01102, allocations: 360.1 kB / 0.9879 GB, free: 12.49 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.01114, allocations: 62.55 kB / 0.988 GB, free: 12.42 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.435e-05/0.01117, allocations: 28.98 kB / 0.988 GB, free: 12.39 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.01119, allocations: 0 / 0.988 GB, free: 12.39 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001095/0.0113, allocations: 87.36 kB / 0.9881 GB, free: 12.29 MB / 0.948 GB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.0113, allocations: 4 kB / 0.9881 GB, free: 12.29 MB / 0.948 GB Notification: Performance of matching and sorting (n=12): time 0.0002264/0.01153, allocations: 133.5 kB / 0.9882 GB, free: 12.15 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.01156, allocations: 59.34 kB / 0.9883 GB, free: 12.08 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.01171, allocations: 192.2 kB / 0.9885 GB, free: 11.88 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.01173, allocations: 33.7 kB / 0.9885 GB, free: 11.84 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.054e-05/0.0118, allocations: 120.1 kB / 0.9886 GB, free: 11.72 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.059e-05/0.01183, allocations: 23.86 kB / 0.9886 GB, free: 11.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.907e-05/0.01188, allocations: 57.61 kB / 0.9887 GB, free: 11.64 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.492e-05/0.01197, allocations: 322.8 kB / 0.989 GB, free: 11.31 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.852e-05/0.01201, allocations: 27.98 kB / 0.989 GB, free: 11.29 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/0.01221, allocations: 236.7 kB / 0.9893 GB, free: 11 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.332e-05/0.0123, allocations: 91.97 kB / 0.9894 GB, free: 10.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.0123, allocations: 0 / 0.9894 GB, free: 10.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001538/0.01246, allocations: 141.3 kB / 0.9895 GB, free: 10.76 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.01247, allocations: 4 kB / 0.9895 GB, free: 10.75 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.505e-06/0.01248, allocations: 8 kB / 0.9895 GB, free: 10.75 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.01249, allocations: 4.125 kB / 0.9895 GB, free: 10.74 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.255e-05/0.01255, allocations: 15.94 kB / 0.9895 GB, free: 10.73 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.01256, allocations: 0 / 0.9895 GB, free: 10.73 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.438e-05/0.01265, allocations: 23.86 kB / 0.9895 GB, free: 10.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.01266, allocations: 8 kB / 0.9895 GB, free: 10.7 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.92e-05/0.01275, allocations: 137.6 kB / 0.9897 GB, free: 10.55 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.463e-05/0.01276, allocations: 15.86 kB / 0.9897 GB, free: 10.54 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.03e-05/0.01279, allocations: 17.47 kB / 0.9897 GB, free: 10.52 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.0128, allocations: 4 kB / 0.9897 GB, free: 10.52 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.0128, allocations: 4 kB / 0.9897 GB, free: 10.51 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.01281, allocations: 3.938 kB / 0.9897 GB, free: 10.51 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003353/0.01314, allocations: 362 kB / 0.9901 GB, free: 10.12 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01315, allocations: 0 / 0.9901 GB, free: 10.12 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.746e-05/0.01316, allocations: 7.938 kB / 0.9901 GB, free: 10.11 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.01317, allocations: 3.938 kB / 0.9901 GB, free: 10.11 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.01318, allocations: 3.938 kB / 0.9901 GB, free: 10.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.01318, allocations: 7.984 kB / 0.9901 GB, free: 10.09 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.01318, allocations: 0 / 0.9901 GB, free: 10.09 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.01331, allocations: 199.4 kB / 0.9903 GB, free: 9.883 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.436e-05/0.01333, allocations: 11.95 kB / 0.9903 GB, free: 9.871 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.01334, allocations: 3.938 kB / 0.9903 GB, free: 9.867 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.526e-05/0.0134, allocations: 11.98 kB / 0.9903 GB, free: 9.855 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.89e-05/0.01345, allocations: 11.98 kB / 0.9903 GB, free: 9.844 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.138e-05/0.01347, allocations: 11.98 kB / 0.9903 GB, free: 9.832 MB / 0.948 GB Notification: Performance of sorting global known variables: time 7.787e-05/0.01355, allocations: 132.1 kB / 0.9905 GB, free: 9.703 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01355, allocations: 3.938 kB / 0.9905 GB, free: 9.699 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002044/0.01375, allocations: 43.88 kB / 0.9905 GB, free: 9.656 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.0002979/0.01405, allocations: 177.8 kB / 0.9907 GB, free: 9.492 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001474/0.0142, allocations: 71.92 kB / 0.9907 GB, free: 9.422 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.0142, allocations: 0 / 0.9907 GB, free: 9.422 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.986e-05/0.01425, allocations: 39.92 kB / 0.9908 GB, free: 9.383 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.01451, allocations: 54 kB / 0.9908 GB, free: 9.34 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004849/0.01499, allocations: 295.6 kB / 0.9911 GB, free: 9.016 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.226e-05/0.01507, allocations: 106.4 kB / 0.9912 GB, free: 8.891 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.099e-05/0.01511, allocations: 28.48 kB / 0.9912 GB, free: 8.863 MB / 0.948 GB Notification: Performance of SimCode: time 6.81e-07/0.01511, allocations: 0 / 0.9912 GB, free: 8.863 MB / 0.948 GB Notification: Performance of Templates: time 0.003573/0.01868, allocations: 2.961 MB / 0.9941 GB, free: 5.918 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) [Timeout 400] 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: 7.4604705814272165]